# AstrBot Configuration Guide

> Connect LLMoxy to AstrBot via OpenAI Compatible API, with automatic model fetching and selection.

> **📌 About AstrBot**
> AstrBot is an AI bot platform that supports connecting to LLMoxy services via OpenAI Compatible API.

## Configuration Steps

### 1. Click Configure API after first login

After logging into AstrBot for the first time, click the **Configure API** button.

![Configure API](https://en.llmoxy.com/docs-assets/migrated/tutorial-astrbot/image-01.png)

### 2. Click the Add button

Click the **Add** button to add a new API configuration.

![Click Add](https://en.llmoxy.com/docs-assets/migrated/tutorial-astrbot/image-02.png)

### 3. Select OpenAI Compatible

In the API type, select **OpenAI Compatible**.

![Select OpenAI Compatible](https://en.llmoxy.com/docs-assets/migrated/tutorial-astrbot/image-03.png)

### 4. Fill in configuration and save

Fill in the ID, API Key, and API Base URL, then click **Save Configuration**, then click **Get Models**.

- **API Key**: Enter your LLMoxy token secret key
- **API Base URL**: `https://llmoxy.com/v1`

![Fill in configuration](https://en.llmoxy.com/docs-assets/migrated/tutorial-astrbot/image-04.png)

### 5. Get model list

After saving the configuration, you can see all models fetched from the site.

![Get model list](https://en.llmoxy.com/docs-assets/migrated/tutorial-astrbot/image-05.png)

### 6. Search and select a model

You can search for models via the search bar, for example select the pay-per-use `grok-4.7`.

![Search model](https://en.llmoxy.com/docs-assets/migrated/tutorial-astrbot/image-06.png)

### 7. Select Chat mode

Select the **Chat** chat mode.

![Select Chat](https://en.llmoxy.com/docs-assets/migrated/tutorial-astrbot/image-07.png)

### 8. Select the configured model

Click the **Model** button and select the model you just configured.

![Click Model button](https://en.llmoxy.com/docs-assets/migrated/tutorial-astrbot/image-08.png)

### 9. Start using

After configuration is complete, you can use the model through conversation.

![Select model](https://en.llmoxy.com/docs-assets/migrated/tutorial-astrbot/image-09.png)

### 10. Start chatting

After configuration is complete, you can use the model through conversation.

![Start chatting](https://en.llmoxy.com/docs-assets/migrated/tutorial-astrbot/image-10.png)

> **💡 Tip**
> Please use a token from the **auto** group. After configuration, you can use all LLMoxy models in AstrBot.

This is the markdown version of https://en.llmoxy.com/docs/code-tutorials/astrbot.
