# Wonderment

## Connection

When you're setting up your first workflow with Wonderment, you will need to create a [Connection](/going-further/credentials.md) in order to connect MESA with Wonderment.

<figure><img src="/files/ftfjzliZ5OG5a2RvdHL0" alt=""><figcaption></figcaption></figure>

To create your connection, open the Wonderment app or login to your Wonderment account on the web, and navigate to [Access Tokens](https://app.wonderment.com/settings/integrations/access_tokens) (Settings > Integrations > Access Tokens).

<figure><img src="/files/0z0H6J2kIRTPs1FmoVxT" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/pHfM9liQfXg9dNyzLvEs" alt=""><figcaption></figcaption></figure>

Click Manage in the Access Tokens tile.

<figure><img src="/files/EpJ9QXD27cYdImKiLi2n" alt=""><figcaption></figcaption></figure>

Then, click the Create access token button.

<figure><img src="/files/wmDPeKZiDFb37BZaABA2" alt=""><figcaption></figcaption></figure>

Copy the access token that is created and paste it in the Wonderment Access Token field in the Authenticate menu of your Wonderment step in MESA.

<figure><img src="/files/ZYwnMeSzkKKvesfZKssM" 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://docs.getmesa.com/connect/wonderment.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.
