# Chat Widget Integration

**GoAffPro** provides you with the option to integrate a chat widget into your affiliate portal.

To integrate a chat widget, go to the **Affiliate Dashboard** section in the **Look and Feel** tab of the GoAffPro admin panel.&#x20;

<figure><img src="/files/c6mtbBMhBTjRyi923b7V" alt=""><figcaption><p>Look and Feel > Affiliate Dashboard</p></figcaption></figure>

Here, go to the Custom Javascript code section.&#x20;

<figure><img src="/files/xlzlmqQDIDPVJq1rWXcl" alt=""><figcaption><p> Custom Javascript code</p></figcaption></figure>

Now, copy the widget code from the admin panel of the chat service.&#x20;

<figure><img src="/files/CIOVuBDvrUJvXGruJR7x" alt=""><figcaption><p>Copy the widget code</p></figcaption></figure>

After this, paste the widget code.&#x20;

{% hint style="info" %}
Remove the opening \<script type = "text/javascript"> and closing \</script> tags from the widget code.&#x20;
{% endhint %}

<figure><img src="/files/VPIUVhLMjg41ncF7gkYX" alt=""><figcaption><p>Paste the widget code</p></figcaption></figure>

Finally, click on **Apply**.

<figure><img src="/files/pJZFsj5ToCgZNltSqKHy" alt=""><figcaption><p>Click on Apply</p></figcaption></figure>

The chat widget will be displayed in the affiliate portal.

<figure><img src="/files/vi6HLXJfpLu2zFfVcQve" alt=""><figcaption></figcaption></figure>

<details>

<summary>Chat Widget Integration FAQ</summary>

**What chat widgets can I integrate into the affiliate portal?**

You can integrate any chat widget that provides a JavaScript widget code, which can be pasted in the Custom JavaScript section.

**What subscription is this option available in?**

This option is only available to users with premium and business plans.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.goaffpro.com/affiliate-portal-customization/advanced-customization/chat-widget-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
