# Botstar

BotStar is a comprehensive chatbot platform that enables businesses to design, develop, and train chatbots visually for Messenger and websites.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Botstar** authenticates with an API key. Generate the credential in your Botstar account, then paste it into FlyMyAI the first time an agent uses a Botstar action.

[Get your Botstar credential →](https://app.botstar.com/account/profile)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `BotStar API Access Token` | The API Access Token for authenticating requests to the BotStar API. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `BOTSTAR_BOTSTAR_LIVECHAT_ON_CLOSE` | Tool to register a callback when the chat window is closed. use after the widget is initialized. example prompt: "register an onclose handler that logs 'goodbye!' to the console." | `callback_code` |
| `BOTSTAR_GET_BOT_APP_ID` | Tool to retrieve the botstar application id ('appid'). use when initializing or reinitializing the live chat widget. | - |
| `BOTSTAR_LIVECHAT_BOOT` | Tool to reinitialize the live chat widget with provided data. use after initial load to reset or update widget configuration. | `appId` |
| `BOTSTAR_LIVECHAT_CLOSE` | Tool to hide the live chat window. use when the chat widget is configured in livechat or popup mode. | - |
| `BOTSTAR_LIVECHAT_ON_OPEN` | Tool to register a callback when the chat window is opened. use after widget initialization. | `callback` |
| `BOTSTAR_LIVECHAT_OPEN` | Tool to show the live chat window. use after the widget has been bootstrapped with botstarapi('boot') to programmatically open the chat window (mode must be 'livechat' or 'popup'). | - |
| `BOTSTAR_LIVECHAT_UPDATE` | Tool to update user details on the current live chat session. use when you need to modify user profile attributes during an active conversation. | - |
| `BOTSTAR_WEBVIEW_GET_PARAMETER` | Tool to retrieve a parameter value passed from the botstar chatbot to the webview. use inside onchatbotready after your page loads in modal mode with bs:input meta tags. | `parameter_name` |
| `BOTSTAR_WEBVIEW_SEND_RESPONSE` | Tool to send data from the webview back to the botstar chatbot. use when you need to transmit responses or custom outputs from an open webview. | `response`, `outputs`, `outlet_name` |

## Links

- [Botstar website](https://botstar.com/)
- [Get API key / credential](https://app.botstar.com/account/profile)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
