# API AI Autoresponder

## About API.AI

[API.AI](http://api.ai) is a powerful AI system made by Google that allows you to create your own bots with autoresponder feature for free. You can use this feature with your [Personal Bot](/doc/e59a06a3-4c30-4082-b5ba-523fef7ae733) service

### Creating API.AI Chatbot

To start creating your chatbot you will need to sign-in to **API.AI** using your [Google Account](https://accounts.google.com/SignUp?continue=https%3A%2F%2Faccounts.google.com%2FManageAccount)


1. After signing-in to your API.AI account, click "Create agent"
2. Insert general information about your chatbot and hit "Save"

 ![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/4ea161d8-0b33-4161-9de2-d12425073729/API_AI_Creating_agent.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T141500Z&X-Amz-Expires=86400&X-Amz-Signature=b18fd6621428586ebdad257cb19d78b0fbdc896a4ba806e0aa1e50b16d7e0b57&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =500x305")

### Building your chatbot

Building your chatbot takes time, but it's quite easy, here's how you can build a very basic chatbot of your own.

 ![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/7a2b4ae7-0d17-4401-93ac-d512bbca8f33/Adding_intent.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T141500Z&X-Amz-Expires=86400&X-Amz-Signature=13675a32e99aa97b879778eb5c95a6b4c97ca6b79329144f3307c898c45529ff&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =248x259")


1. Click on add intent function (+) in your account
2. Add your message under **User says** and bot's response under **Text response**
3. Hit **save**!

Repeat the process mentioned above for all the trigger messages you wish. To know more advanced ways of building a chatbot, refer to [API.AI Documentation](https://docs.api.ai/)

### Link with SmartBots

After finalizing your chatbot, you will have to find your **Client access token** - click Settings button next to your agent name.

 ![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/6bf70947-7a5c-42da-9b8c-8123b1a2054d/Access_token.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T141500Z&X-Amz-Expires=86400&X-Amz-Signature=7cd88831aa5de4c9bc8515768f72d79daed4c7990106920d08ad372d421970e2&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =243x210")


1. Find your Client access token under API Keys
2. Paste that in to your [Bot Control Panel](/doc/8286cb7a-6d96-44e9-8c94-77516fbd6b62)

 ![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/b4e36b9c-78e6-4574-ab77-2b9eae7cf6b1/Control_Panel.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T141500Z&X-Amz-Expires=86400&X-Amz-Signature=59cbeefbd568923279f51716c26a37ec135f5c26bb814678e2917ffe7b2d4bd3&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =331x219")