Gate HubGate Hub
API ReferenceAI ApplicationsSkills

AstrBot - Agent Chatbot

AstrBot setup guide — integrate this open-source Agent chatbot platform with Gate Hub to power QQ, Feishu, DingTalk, WeChat Work, and more with AI capabilities.

AstrBot is an open-source, all-in-one Agent chatbot platform that seamlessly integrates large model capabilities into mainstream instant messaging software such as QQ, Feishu, DingTalk, and WeChat Work, building reliable and scalable conversational AI infrastructure for individuals, developers, and teams. Whether it's a personal AI companion, smart customer service, automation assistant, or enterprise knowledge base, AstrBot can quickly build production-ready AI applications within your instant messaging software platform's workflow.

GateHub Integration Method

AstrBot supports integrating GateHub as a model provider, allowing users to access and use various AI model services through GateHub.

Configuration Steps

Obtain GateHub API Key

After registering and logging in to GateHub, click 'Console' in the top navigation bar, click 'Token Management', then click the 'Add Token' button to create a new API Key, select appropriate permissions, and then click 'Create'.

create-api-key

After successful creation, click the 'Copy Key' button to copy the generated API Key.

copy-api-key

Configure GateHub Service Provider in AstrBot

Open the AstrBot management panel, go to the 'Model Providers' page, then click the 'Add Model Provider' button.

GateHub perfectly supports OpenAI Chat Completion and Responses interfaces. We click 'OpenAI' to enter the OpenAI provider's configuration page.

In the pop-up dialog box, set the API Base URL to GateHub's interface address. If you have deployed GateHub locally, fill in the local address, for example, http://localhost:3000/v1. If you are using GateHub services provided by a third-party service provider, fill in the corresponding URL address, for example, https://api.example.com/v1.

Then, enter the API Key into the 'API Key' field and click the 'Save' button.

astrbot-provider-config

Then click Save to complete the GateHub provider configuration.

Apply Service Provider

Go to the 'Configuration File' page, find the 'Models' section, change 'Default Chat Model' to the GateHub provider you just created, and click the 'Save' button.

apply

At this point, you have successfully configured GateHub as AstrBot's model provider. Now, you can access and use various AI model services provided by GateHub through AstrBot.

How is this guide?