# Editor

Use the **MeshMap Hub** editor window to configure your app API key and connect to your MeshMap account.

{% hint style="warning" %}
If you are using version control, add "user.keystore" and "Assets/Resources/ApiKeyConfig.asset" to your .gitignore file.
{% endhint %}

## Usage

1. Open the editor window via `MeshMap > MeshMap Hub`.
2. Paste your [app API key](https://app.meshmap.com/apps) into the field.

<figure><img src="/files/cIz1kH4egqInfQSWZJA7" alt="" width="410"><figcaption><p>MeshMap Hub editor window, Setup tab.</p></figcaption></figure>

3. Click "Connect with Code" to generate a 6-digit verification code.

<figure><img src="/files/EYVyF3N996voYpWmBKbu" alt="" width="411"><figcaption><p>MeshMap Hub editor window, Setup tab with verification code and status.</p></figcaption></figure>

4. Enter your code into the [window](https://app.meshmap.com/connect) that pops up and click "Submit".
5. You may be prompted to login or create a MeshMap account.

<figure><img src="/files/n87bvAUIjTE3VSN7Kdtx" alt="" width="375"><figcaption><p><a href="https://app.meshmap.com/play">https://app.meshmap.com/play</a></p></figcaption></figure>

6. Return to Unity, where you should now be connected to your MeshMap account.

<figure><img src="/files/b6fESnDYdKjCBn5b5XSP" alt="" width="416"><figcaption><p>MeshMap Hub editor window, Setup tab with account connected.</p></figcaption></figure>

7. If you are using version control, add "user.keystore" and "Assets/Resources/ApiKeyConfig.asset" to your .gitignore file.


---

# 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.meshmap.com/unity-sdk/core/auth/editor.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.
