# Configure AI Chatbot

To edit your AI Chatbot in your account, navigate to the top right of your account and click Configure AI.

<figure><img src="https://312952119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFKpjLzPT7iDAWD0tQXo%2Fuploads%2FG8GBdyxcgbRV7kFbKY75%2FScreenshot%202024-10-30%20at%208.55.53%20AM.png?alt=media&#x26;token=b6b943ec-d3ea-42b2-b4ec-be657cf7c896" alt="" width="563"><figcaption></figcaption></figure>

You will be taken to this screen, where you will set up the Basic Instructions.&#x20;

<figure><img src="https://312952119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFKpjLzPT7iDAWD0tQXo%2Fuploads%2F78ftLAGroBXSrcMSoVu3%2FScreenshot%202024-10-30%20at%208.59.34%20AM.png?alt=media&#x26;token=430b4b06-375a-4595-95f0-ad7bd637a7f9" alt=""><figcaption></figcaption></figure>

Before switching the 'Enable AI Agent' toggle on, be sure to set up the Basic Instructions, Train AI, Custom Intents and Tools.

**Name:** Assign your AI Chatbot a name. It can be any name you'd like!&#x20;

**Instructions to your AI Agent:** Here you will give your AI Agent basic instructions and a personality. You can be as general or descriptive as you see fit. &#x20;

**Greeting Message:** This is the message the AI Agent will start the conversation to your customer with. &#x20;

**Closing Message:** This is the message the AI Agent will end the conversation to your customer with. The closing message will be sent after there is no contact from the customer for a certain number of minutes. In the example above the client's Agent, Mattie, will send their closing message after 30 minutes. &#x20;

**Deploy AI to Channels:** Select the channels you'd like AI to function on. Here, Mattie will be functioning on the website Chatbot Widget, and Facebook messenger.&#x20;

**AI Assign Time:** All day means AI will respond to messages 24 hours a day. This is very helpful if you or a team member will not be monitoring your Gleantap inbox to respond to messages at all times.

**Transfer to Human:** Toggle this on if you would like the AI Agent the capability to transfer the conversation to you or a team member to take over. Add the message for the Agent to respond with. Enter the human working hours you will be available to take over the conversation for your AI Agent. Add the message for your Agent to respond with if there is a request to speak with a human outside of those working hours.

Once these are all configured, visit the following articles to complete the configuration process and embed the widget onto your website:&#x20;

* [Train AI](https://help.gleantap.com/ai-chatbot/train-ai)
* [Custom Intents](https://help.gleantap.com/ai-chatbot/custom-intents)
* [Tools](https://help.gleantap.com/ai-chatbot/tools)
* [Test AI Chatbot](https://help.gleantap.com/ai-chatbot/test-your-ai-chatbot)
* [Embed Chatbot Widget](https://help.gleantap.com/ai-chatbot/embed-your-ai-chatbot-widget)


---

# 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://help.gleantap.com/getting-started/configure-ai-chatbot.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.
