# How to Install the Tiledesk Live Chat Widget on a Wix Website

**Step 1: Go to Settings in your site's dashboard**

1. Log in to your Wix account and access your website's dashboard.
2. In the dashboard, navigate to "Settings." You can usually find this option in the top menu or sidebar.

**Step 2: Click the Custom Code tab in the Advanced section**

1. Within the "Settings" section, select "Advanced."
2. Under "Advanced," click on the "Custom Code" tab. This is where you can add custom code snippets to your Wix website.

**Step 3: Click + Add Custom Code at the top right**

To add the Tiledesk live chat widget code, click on the "+ Add Custom Code" button located at the top right corner of the "Custom Code" tab.

**Step 4: Paste the Tiledesk Widget Code**

In the text box provided, paste the following code snippet:

\<script type="application/javascript">\
&#x20;window\.tiledeskSettings = {\
&#x20;  projectid: "63a075485f117f001354g43"\
&#x20;};\
&#x20;(function(d, s, id) {\
&#x20;  var w = window; var d = document; var i = function() { i.c(arguments); };\
&#x20;  i.q = \[]; i.c = function(args) { i.q.push(args); }; w\.Tiledesk = i;\
&#x20;  var js, fjs = d.getElementsByTagName(s)\[0];\
&#x20;  if (d.getElementById(id)) return;\
&#x20;  js = d.createElement(s);\
&#x20;  js.id = id; js.async = true; js.src = "<https://widget.tiledesk.com/v6/launch.js";\\>
&#x20;  fjs.parentNode.insertBefore(js, fjs);\
&#x20;}(document, 'script', 'tiledesk-jssdk'));\
\</script>\
&#x20;

Please remember to use your ProjectID

**Step 5: Enter a name for your code**

Give your code snippet a recognizable name. This will make it easier to identify later.

**Step 6: Select an option under Add Code to Pages**

Choose where you want the code to be applied:

* "All pages": This adds the Tiledesk widget to all of your site's pages, including future pages.
* "Choose specific pages": Use the drop-down menu to select the specific pages where you want to display the widget.

**Step 7: Choose where to place your code under Place Code in:**

Select where you want to place the code within your page's HTML structure. Options include:

* "Head"
* "Body - start"
* "Body - end"

**Step 8: Click Apply**

Finally, click the "Apply" button to save your changes and activate the Tiledesk live chat widget on your Wix website.

That's it! Your Wix website is now equipped with the Tiledesk live chat widget, allowing you to engage with visitors in real-time and provide excellent customer support.


---

# 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://guide.tiledesk.com/web-integrations/how-to-install-the-tiledesk-live-chat-widget-on-a-wix-website.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.
