> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exerta.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Facebook, Instagram, TikTok & Website Chat

> Link Facebook, Instagram, TikTok, or website chat to Exerta using official OAuth. Each integration takes about 60 seconds and requires no code.

Exerta connects to your social channels through official platform APIs — the Meta Graph API for Facebook and Instagram, and the TikTok API for TikTok. You authorize the connection once through a standard OAuth flow, and Exerta handles token refresh automatically from that point forward. There's nothing to install, no credentials to copy manually, and no ongoing maintenance on your end. Each connection typically takes about 60 seconds to complete.

## Available channels

<CardGroup cols={2}>
  <Card title="Facebook" icon="facebook" href="/channels/facebook">
    Manage comments and DMs on your Facebook ads and Pages. Agents can reply, hide spam, and route buyers directly from your ad comments.
  </Card>

  <Card title="Instagram" icon="instagram" href="/channels/instagram">
    Handle comments and DMs on Instagram ads and organic posts. Full support for comment moderation and direct message automation.
  </Card>

  <Card title="TikTok" icon="tiktok" href="/channels/tiktok">
    Moderate comments on your TikTok ads at scale. Automatically hide spam and reply to genuine engagement on your TikTok content.
  </Card>

  <Card title="Website Chat" icon="comments" href="/channels/website-chat">
    Deploy a live AI agent directly on your website. Handles visitor questions, qualifies leads, and routes buyers — 24/7.
  </Card>
</CardGroup>

## How to connect Meta (Facebook & Instagram)

Facebook and Instagram share a single Meta Business Manager authorization flow. Connecting one account gives you access to both platforms.

<Steps>
  <Step title="Open channel settings">
    In the Exerta app, go to **Settings → Channels** in the left sidebar.
  </Step>

  <Step title="Add a new channel">
    Click **Add Channel**, then select **Facebook / Instagram** from the list of available platforms.
  </Step>

  <Step title="Authorize via Meta Business Manager">
    A Meta Business Manager authorization pop-up appears. Log in with the account that has admin access to your Pages, then select the specific Pages you want to connect to Exerta.
  </Step>

  <Step title="Grant permissions">
    Review and grant the permissions Exerta requests. Exerta only requests the permissions it needs to read comments, send replies, hide content, and manage DMs — nothing beyond that.
  </Step>

  <Step title="Confirm your connection">
    Once authorized, your connected Pages appear in the **Channels** list. Agents can be activated on any of these Pages immediately — no additional setup required.
  </Step>
</Steps>

## How to connect TikTok

<Steps>
  <Step title="Open channel settings">
    In the Exerta app, go to **Settings → Channels** in the left sidebar.
  </Step>

  <Step title="Add a new channel">
    Click **Add Channel**, then select **TikTok** from the list of available platforms.
  </Step>

  <Step title="Authorize via TikTok Business API">
    Exerta redirects you to the TikTok Business API authorization page. Log in with the TikTok Business account that has admin access to your TikTok profile.
  </Step>

  <Step title="Grant permissions">
    Review and approve the permissions Exerta requests. These cover comment reading, comment hiding, and reply posting on your TikTok content.
  </Step>

  <Step title="Confirm your connection">
    Once authorized, your TikTok profile appears in the **Channels** list and is ready for agent activation.
  </Step>
</Steps>

## How to connect Website Chat

Website Chat uses a lightweight script tag rather than an OAuth flow. After enabling the channel in Exerta, you receive a JavaScript snippet to paste into your site's `<head>`. The agent loads automatically on every page once the snippet is present — no further configuration is needed to go live.

<Steps>
  <Step title="Open channel settings">
    In the Exerta app, go to **Settings → Channels** in the left sidebar.
  </Step>

  <Step title="Add Website Chat">
    Click **Add Channel**, then select **Website Chat** from the list.
  </Step>

  <Step title="Copy your script tag">
    Exerta generates a unique script snippet for your workspace. Copy it — it looks like this:

    ```html theme={null}
    <script
      src="https://cdn.exerta.ai/chat.js"
      data-workspace-id="YOUR_WORKSPACE_ID"
      async
    ></script>
    ```
  </Step>

  <Step title="Paste the snippet into your site">
    Add the snippet inside the `<head>` tag of every page where you want the chat widget to appear. On Shopify, paste it in **Online Store → Themes → Edit Code → theme.liquid** inside the `<head>` section.
  </Step>

  <Step title="Confirm your connection">
    Load any page of your site. The chat widget appears in the bottom corner and your Website Chat channel shows as **Connected** in Exerta. You can now assign an AI agent to handle visitor conversations.
  </Step>
</Steps>

<Note>
  Full customization options (widget color, greeting message, business hours, and Shopify cart recovery) are covered in the [Website Chat channel guide](/channels/website-chat).
</Note>

<Note>
  If a connection expires — for example, because you changed your password or revoked Exerta's permissions — Exerta will email you immediately. You can reconnect in a single click from **Settings → Channels** without losing any of your agent configurations.
</Note>

<Warning>
  Exerta uses official platform APIs only and does not use unofficial scraping or automation methods. Connecting a channel requires you to be an **admin** of the Meta Business Manager or TikTok Business account associated with the Pages or profile you want to connect.
</Warning>


## Related topics

- [Exerta FAQ: Answers to Common Questions About the Platform](/account/faq.md)
- [AI Agents Overview: How Exerta Automates Engagement](/agents/overview.md)
- [Comment Moderation: Protect Your Ads Automatically](/moderation/overview.md)
- [Analytics Dashboard: Track Replies, Hides, and Revenue](/analytics/dashboard.md)
- [Get Started with Exerta: Live AI Agents in 5 Minutes](/quickstart.md)
