Skip to main content

Other Platforms

Beyond the main channels, you can connect your agent to virtually any platform using webhooks or the REST API.

Discord

Deploy your agent as a Discord bot for community servers.

Setup

  1. Go to Discord Developer Portal
  2. Click New Application and name it
  3. Go to Bot > Add Bot
  4. Copy the Bot Token
  5. Under Privileged Gateway Intents, enable:
    • Message Content Intent
    • Server Members Intent
  6. Go to OAuth2 > URL Generator:
    • Scopes: bot
    • Bot Permissions: Send Messages, Read Message History
  7. Copy the generated URL and open it to invite the bot to your server

Configure in thinnestAI

  1. Open your agent > Deploy tab
  2. Select Discord
  3. Enter:
    • Bot Token — From Discord Developer Portal
    • Application ID — From General Information
  4. Click Save & Enable

Set Webhook

Configure the webhook URL in your Discord bot’s interactions settings:

How It Works

  • Users @mention the bot or DM it
  • The bot responds in the same channel/DM
  • Each user gets their own conversation session
  • Leads are automatically captured with Discord user ID

Mobile Apps

React Native

Flutter

Swift (iOS)

Custom Webhooks

Build your own integration by forwarding messages to the REST API:

Shopify

Add the chat widget to your Shopify store:
  1. Go to Online Store > Themes > Edit code
  2. Open theme.liquid
  3. Before the closing </body> tag, add:
  1. Save

Webflow

  1. Go to Project Settings > Custom Code
  2. In the Footer Code section, add the embed script
  3. Publish your site

Squarespace

  1. Go to Settings > Advanced > Code Injection
  2. In the Footer section, add the embed script
  3. Save

Wix

  1. Go to your site editor
  2. Click Add > Embed > Custom Embeds > Embed a Widget
  3. Click Enter Code and paste the embed script
  4. Position the widget and publish

Bubble.io

  1. Add an HTML element to your page
  2. Paste the embed script in the element’s HTML content
  3. Preview and deploy

Any Platform

The REST API works with any platform that can make HTTP requests. The general pattern is:
  1. Receive a message from your platform
  2. Forward it to POST /v1/agents/{agent_id}/chat with your API key
  3. Return the response to the user
This works for:
  • Email bots (via SendGrid, Mailgun webhooks)
  • SMS (via Twilio, directly — not WhatsApp)
  • Voice assistants (via speech-to-text + text-to-speech)
  • IoT devices
  • Game chat systems
  • Internal tools and dashboards