# Connecting to JMap Cloud

The first step is to connect QGIS with JMap Cloud.

1. On QGIS, click on Web → JMap Cloud → Connection to open the connection dialog.
2. Enter your JMap Cloud account email and password.
3. Select an organization.
4. Log out by clicking on Logout in the connection dialog. It will erase your authentication settings from the QGIS authentication database and revoke your access token from JMap Cloud.

## Principal password

The authentication settings are saved in the QGIS authentication database which requires a principal password to access. The principal password can be saved in the password manager for Windows users or in the key chain for Mac users.

\*\* Mac users may have problems saving the password in the keychain. You may have to give access to the principal password to all applications in the key chain.

**You can reset the principal password by missing it 3 times and then erase the authentication database.** This will not have any incidence on this plugin but have some on other plugin that use the authentication database.


---

# 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.jmapcloud.io/en/jmap-cloud-plugin-for-qgis/jmap-cloud-plugin-user-guide/connecting-to-jmap-cloud.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.
