Chat integrations

Telegram integration

Connecting AI agents to Telegram

Concepts

  • Telegram is a chat platform which allows bots.
  • Each bot can be connected to an AI agent on this platform.
  • You can bill your customers via the Stripe integration.

Create a new bot

Create a bot in Telegram by interacting with @BotFather (see relevant Telegram docs if necessary).

In AI Construx, go to Integrations > Telegram and create a new Telegram integration. There you can select the relevant agent and paste in the Telegram bot's token.

Once the integration has been created you should be interact with your bot in a minute or two. The AI agent should handle the bot's replies.

Setup the Stripe integration

If you want your bots users to sign-up for subscriptions via Stripe you should:

  1. Sign-up for a Stripe account.
  2. Create a Stripe integration in AI Construx, by filling in the relevant fields.

Your users can interact with the billing options by issuing the billing command to the bot.

On this page