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

# How to Integrate with Freshchat

> Step-by-step guide to connect your Semantiks AI agent with Freshchat.

<Tip>
  This integration connects Freshchat (the messaging platform from Freshworks) with a Semantiks conversational agent. Messages sent by users through Freshchat will be automatically managed by our AI agent as the first line of support. If you have escalation enabled, users can be transferred to your human team in Freshchat when necessary.
</Tip>

## Quick Summary of the Steps

Integrating Freshchat with Semantiks is simple and fast. Just follow four basic steps to connect both systems and start managing your conversations automatically.

1. Get the **App ID** from the Freshchat web widget settings.
2. Go to the integrations section to obtain your **API Key** and **Base URL** for your account.
3. Next, configure the **Webhook** and copy the **Public Key** provided by Freshchat to secure the communication.
4. Finally, enter these details in the Semantiks console and activate the channel.

That's it! In just a few minutes, your AI agent will be ready to respond to your users in Freshchat.

***

<Steps>
  <Step title="Get the App ID">
    The App ID is a unique identifier for your Freshchat configuration. You can find it in the integration settings of the web widget.

    **Steps:**

    1. Log in to your Freshchat console.
    2. In the left sidebar, click on <strong>Admin Settings</strong>.
           <img src="https://mintcdn.com/semantiks/iiGB1dOT3hFeLrhi/images/integration-guides/how-to-integrate-freshchat/fresh1.png?fit=max&auto=format&n=iiGB1dOT3hFeLrhi&q=85&s=0c0c2786f73c4c92b116f7922dac4168" alt="Step 1 - Freshchat" width="1359" height="959" data-path="images/integration-guides/how-to-integrate-freshchat/fresh1.png" />
    3. Find and enter the <strong>Configuration and Workflows</strong> section.
    4. Select <strong>Webchat Settings</strong>.
           <img src="https://mintcdn.com/semantiks/iiGB1dOT3hFeLrhi/images/integration-guides/how-to-integrate-freshchat/fresh2.png?fit=max&auto=format&n=iiGB1dOT3hFeLrhi&q=85&s=2ebfebaee97536a6b3ad85863197fb95" alt="Step 2 - Freshchat" width="1361" height="962" data-path="images/integration-guides/how-to-integrate-freshchat/fresh2.png" />
    5. Then, click on <strong>Integration Settings</strong>.
    6. Here you will find your <strong>App ID</strong> — copy and save it.
           <img src="https://mintcdn.com/semantiks/iiGB1dOT3hFeLrhi/images/integration-guides/how-to-integrate-freshchat/fresh3.png?fit=max&auto=format&n=iiGB1dOT3hFeLrhi&q=85&s=62d03968ad90edaf97cda03ff15503ea" alt="Step 3 - Freshchat" width="1362" height="964" data-path="images/integration-guides/how-to-integrate-freshchat/fresh3.png" />
  </Step>

  <Step title="Get API Key and Base URL">
    The API Key and Base URL allow you to authenticate the integration from Semantiks to Freshchat.

    **Steps:**

    1. Go back to the main <strong>Admin Settings</strong> panel.
           <img src="https://mintcdn.com/semantiks/iiGB1dOT3hFeLrhi/images/integration-guides/how-to-integrate-freshchat/fresh1.png?fit=max&auto=format&n=iiGB1dOT3hFeLrhi&q=85&s=0c0c2786f73c4c92b116f7922dac4168" alt="Step 1 - Freshchat" width="1359" height="959" data-path="images/integration-guides/how-to-integrate-freshchat/fresh1.png" />
    2. Now go to <strong>Marketplace and Integrations</strong>.
    3. In this section, select <strong>API Settings</strong>.
           <img src="https://mintcdn.com/semantiks/iiGB1dOT3hFeLrhi/images/integration-guides/how-to-integrate-freshchat/fresh4.png?fit=max&auto=format&n=iiGB1dOT3hFeLrhi&q=85&s=e1a30b2d30be40687435387b2bdd47b8" alt="Step 4 - Freshchat" width="1361" height="962" data-path="images/integration-guides/how-to-integrate-freshchat/fresh4.png" />
    4. Here you can view and copy:
       * <strong>API Key</strong>
       * <strong>Base URL</strong>
             <img src="https://mintcdn.com/semantiks/dTnNcSHJZt4I8UN-/images/integration-guides/how-to-integrate-freshchat/fresh5.png?fit=max&auto=format&n=dTnNcSHJZt4I8UN-&q=85&s=d93102eee66dd9a7f87eed051e473548" alt="Step 5 - Freshchat" width="1360" height="963" data-path="images/integration-guides/how-to-integrate-freshchat/fresh5.png" />

    It's very important to keep these values safe. The API Key is sensitive and should not be shared publicly.
  </Step>

  <Step title="Configure Webhook and Get Public Key">
    The Webhook and Public Key are essential to ensure secure communication between Freshchat and Semantiks.

    **Steps:**

    1. Stay in the same <strong>API Settings</strong> section within <strong>Marketplace and Integrations</strong>, and select <strong>Conversation Webhooks:</strong>
           <img src="https://mintcdn.com/semantiks/dTnNcSHJZt4I8UN-/images/integration-guides/how-to-integrate-freshchat/fresh6.png?fit=max&auto=format&n=dTnNcSHJZt4I8UN-&q=85&s=8edec3d0420f712887bf4053300df0c5" alt="Step 6 - Freshchat" width="1361" height="962" data-path="images/integration-guides/how-to-integrate-freshchat/fresh6.png" />
    2. Click the <strong>Enable</strong> button if you haven't activated it yet.
           <img src="https://mintcdn.com/semantiks/dTnNcSHJZt4I8UN-/images/integration-guides/how-to-integrate-freshchat/fresh7.png?fit=max&auto=format&n=dTnNcSHJZt4I8UN-&q=85&s=3f3f9b423cc33e45b43ac2db408cb484" alt="Step 7 - Freshchat" width="1364" height="965" data-path="images/integration-guides/how-to-integrate-freshchat/fresh7.png" />
    3. Once enabled, in the first *Webhook* text box, paste this URL:
       ```bash Webhook URL theme={null}
       https://semantiks-switchboard-922021458660.us-central1.run.app/webhooks/freshchat
       ```
           <img src="https://mintcdn.com/semantiks/dTnNcSHJZt4I8UN-/images/integration-guides/how-to-integrate-freshchat/fresh8.png?fit=max&auto=format&n=dTnNcSHJZt4I8UN-&q=85&s=f9e4646f35d1510ef485239f8fb6b0e0" alt="Step 8 - Freshchat" width="1363" height="963" data-path="images/integration-guides/how-to-integrate-freshchat/fresh8.png" />
    4. When you activate the webhook, Freshchat will show you a <strong>Public Key</strong> in the *Authentication* section. Copy this key — it will be needed to verify that messages really come from Freshchat.
           <img src="https://mintcdn.com/semantiks/dTnNcSHJZt4I8UN-/images/integration-guides/how-to-integrate-freshchat/fresh9.png?fit=max&auto=format&n=dTnNcSHJZt4I8UN-&q=85&s=a88bff15b9690eb1b39396172b4538ba" alt="Step 9 - Freshchat" width="1362" height="965" data-path="images/integration-guides/how-to-integrate-freshchat/fresh9.png" />
  </Step>

  <Step title="Finish Integration in Semantiks">
    With these four pieces of information:

    * App ID
    * Public Key
    * Base URL
    * API Key

    1. Log in to your <strong>Semantiks console</strong> with your account.
    2. In the left menu, click on <strong>Channels</strong> and select the <strong>external channels</strong> tab.\\
           <img src="https://mintcdn.com/semantiks/iiGB1dOT3hFeLrhi/images/integration-guides/how-to-integrate-freshchat/fresh11.png?fit=max&auto=format&n=iiGB1dOT3hFeLrhi&q=85&s=2f348c3f3027a361d351af6c1e9e0653" alt="Step 11 - Freshchat" width="1363" height="962" data-path="images/integration-guides/how-to-integrate-freshchat/fresh11.png" />
    3. Find the <strong>Freshchat</strong> box and click the <strong>Connect</strong> button.
           <img src="https://mintcdn.com/semantiks/iiGB1dOT3hFeLrhi/images/integration-guides/how-to-integrate-freshchat/fresh12.png?fit=max&auto=format&n=iiGB1dOT3hFeLrhi&q=85&s=434e62027e3ec22bbfa88a7db44d9a86" alt="Step 12 - Freshchat" width="1363" height="962" data-path="images/integration-guides/how-to-integrate-freshchat/fresh12.png" />
    4. When you click, a form will open where you must enter the following fields:
       * <strong>App ID</strong>
       * <strong>Public Key</strong>
       * <strong>Base URL</strong>
       * <strong>API Key</strong>
             <img src="https://mintcdn.com/semantiks/iiGB1dOT3hFeLrhi/images/integration-guides/how-to-integrate-freshchat/fresh13.png?fit=max&auto=format&n=iiGB1dOT3hFeLrhi&q=85&s=722228f1ea61a97b4b73c016290e7b83" alt="Step 13 - Freshchat" width="1363" height="1155" data-path="images/integration-guides/how-to-integrate-freshchat/fresh13.png" />
    5. Once all fields are filled, click <strong>Connect</strong> and the integration will be active.

    Done! Your Semantiks agent is now connected to Freshchat and ready to start chatting with your users.
  </Step>
</Steps>
