> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/discord.md).

# Discord

## Connection <a href="#connect" id="connect"></a>

When you're setting up your first workflow with Discord, you'll need to connect your Discord account with MESA.

Click on the **Connect with Discord** button to begin the process.

![Screenshot of the Discord step in the MESA workflow builder starting the connection process. Spotlight the Connect with Discord button.](https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FAvj0dftGHBYwcppOHyJV%2FAS-DISCORD-CONNECT.png?alt=media\&token=4eedeadf-632b-4a15-8050-46c250c766ef)

You will then see this screen that allows you to select the server you are connecting to. Select the **Server** and click **Continue.**

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FKrzhpELiiuzjVaCWke8W%2FScreenshot%202024-05-22%20at%209.57.30%E2%80%AFAM.png?alt=media&amp;token=02708fa1-58fd-4e6f-9072-3b77afdc7be9" alt="Screenshot of the Discord authorization screen for selecting the server to connect. Spotlight the Server dropdown and the Continue button."><figcaption></figcaption></figure>

You will then see this permission screen. Click **Authorize.**

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FaCk0DNvPT2GmxttFr0Ol%2FScreenshot%202024-05-22%20at%2010.02.41%E2%80%AFAM.png?alt=media&amp;token=5ac81f0d-0ae8-491f-9216-0d92ce900298" alt="Screenshot of the Discord permission screen granting MESA access to the server. Spotlight the Authorize button."><figcaption></figcaption></figure>

Afterward, you can re-use the newly created connection in your future workflows!

## Error: "You need to verify your account in order to perform this action"

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FAGVXb8WZ7lF9PYHka9gl%2Fdiscord-error.png?alt=media&amp;token=bc331d6a-68e1-4805-8d2e-99267fc44c31" alt="Screenshot of the Discord connection error in MESA reading You need to verify your account in order to perform this action. Spotlight the error message." width="563"><figcaption></figcaption></figure>

If you see this error after clicking "**Connect with Discord**" in MESA, you will need to verify your account. Another reason could be that you need a private server before authenticating with the MESA app.

[Click this link](https://support.discord.com/hc/en-us/articles/6181726888215-Verification-Required-FAQ#docs-internal-guid-9cd047ed-7fff-8e25-e1e6-0cf5644e2255) for step-by-step instructions on how to verify your account in Discord.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getmesa.com/connect/discord.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
