# 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="https://1186324960-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWEOieFcrCdoaTX1LuCOI%2Fuploads%2FL68IxlpX5gZKoDNLuHZ7%2Fmeshmap-hub1.png?alt=media&#x26;token=06f6e69d-b645-471e-851f-00be094904c7" 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="https://1186324960-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWEOieFcrCdoaTX1LuCOI%2Fuploads%2Fvd2k4z92JCv6lN6gC0v6%2Fmeshmap-hub2.png?alt=media&#x26;token=8cf4cbf9-9e83-449e-895d-cc71eb5492bd" 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="https://1186324960-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWEOieFcrCdoaTX1LuCOI%2Fuploads%2FDw0lUedIeUXEKUXO3CV9%2Fmeshmap-hub3.png?alt=media&#x26;token=d2ec09db-cd8c-42ee-a152-015e9acc8baa" 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="https://1186324960-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWEOieFcrCdoaTX1LuCOI%2Fuploads%2F8lNzqb3410yZ2BkEZv2Y%2Fmeshmap-hub.png?alt=media&#x26;token=9950cdb3-b4b9-4286-b7a1-0c80e391d3d0" 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.
