# Medium Integration

Mavis AI allows you to effortlessly connect your Medium account, enabling you to publish content directly from Mavis AI to your Medium blog. Follow these simple steps to set up the integration:

#### How to Connect Your Medium Account

**1. Generate an Integration Token**\
Begin by navigating to your **Medium Account Settings** and selecting **Security**.

* Click on **"Integration tokens"** and generate a new token. This token will be used to authenticate your Medium account with Mavis AI.

<figure><img src="https://2101843392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa6qYdwfJLCnPxoclXdj9%2Fuploads%2FnLJQ8FHs0PdzpAhiVMxd%2Fwegwenshot_1433.png?alt=media&#x26;token=4cec1274-fe36-403a-9eb8-14bddcca5073" alt=""><figcaption></figcaption></figure>

**2. Connect Your Medium Account in Mavis AI**

* Open your Mavis AI dashboard.
* In the bottom left sidebar, click your profile picture and go to **Integrations > Medium**.
* Click the **"Connect"** button to start setting up your new integration.

<figure><img src="https://2101843392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa6qYdwfJLCnPxoclXdj9%2Fuploads%2FvQUXcFydNnggmrG6JkWP%2FScreenshot_1431.png?alt=media&#x26;token=794b695d-2d00-401d-b4ce-11f5093d0b50" alt=""><figcaption></figcaption></figure>

**3. Authorize the Connection**

* Paste your Medium integration token into the required field in Mavis AI.
* Click the **"Authorize"** button to complete the setup.

<figure><img src="https://2101843392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa6qYdwfJLCnPxoclXdj9%2Fuploads%2FSY3uNfZCNciNyOkfSGCZ%2FScreenshot_1432.png?alt=media&#x26;token=a65bec78-beb4-4cff-89e6-c0f7c1f0e5bd" alt=""><figcaption></figcaption></figure>

**4. View Your Integration**\
Once connected, your Medium account will appear under the **Medium Integrations** section in Mavis AI.

<figure><img src="https://2101843392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa6qYdwfJLCnPxoclXdj9%2Fuploads%2FNJGypEqsFzjLoAWRmre8%2FScreenshot_1441.png?alt=media&#x26;token=1e8db6f4-642f-4225-86ba-ff0a6f89a2ce" alt=""><figcaption></figcaption></figure>

* Click on your account to view more details or to manage your integration.

<figure><img src="https://2101843392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa6qYdwfJLCnPxoclXdj9%2Fuploads%2FDHPr0CYjpJ1YuLbqxrNi%2FScreenshot_1435.png?alt=media&#x26;token=46df7a08-3896-479f-9531-d144bc1ce96a" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.heymavis.ai/integrations/medium-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
