<a id="ng-connect-install"></a>

# Installation

To download NextGIS Connect plugin, from the main menu open *Plugins ‣ Manage and install plugins*. Start typing the name of the plugin in the search bar, select it in the list and press **Install**.

NextGIS Connect plugin is a part of [NextGIS QGIS](http://nextgis.com/nextgis-qgis/) distributive and is ready to go right after installation of desktop app.

If you need to check the version of the plugin or update it, go to *Plugins‣ Manage and install plugins ‣ NextGIS Connect*.

#### NOTE
Qt6 compatible

When the plugin is installed, its icon appears in the toolbar:

![NextGIS Connect icon](docs_ngconnect/source/_static/logo_connect.png)

Click on the icon to open NextGIS Connect panel. [More about Connect panel](https://docs.nextgis.com/docs_ngconnect/source/panel.html).

![NextGIS Connect panel](docs_ngconnect/source/_static/connect_panel_en_2.png)

First you need to create a connection to Web GIS.

<a id="ng-connect-new-connection"></a>

## Create a connection

To create a connection you need to know the address of your Web GIS.
The address for your own Web GIS can be found at
[https://my.nextgis.com/webgis](https://my.nextgis.com/webgis)

![Web GIS address](docs_ngconnect/source/_static/my_nextgis.png)

Click on **Settings** button in NextGIS Connect panel.

![Open settings dialog](docs_ngconnect/source/_static/call_settings_en.png)

In the pop-up window press **New** and fill in the fields:

1. URL – address of the target Web GIS.
2. Name – connection id, how it will be shown in the list of connections.

![Adding new connection](docs_ngconnect/source/_static/create_connection_en.png)

Next, in the *Authentication* section, choose how you wish to log in to the Web GIS:

* The default setting, “No Authentication” (= as a Guest) can be used if you don’t need to perform actions that a Guest has no permissions for;
* [add a new configuration](https://docs.nextgis.com/docs_ngconnect/source/ngc_install.html#nnew-config);
* select a previously created one (the list includes configuration name, user name and authentication type).

#### NOTE
For instance, only the Web GIS owner and the [team members](https://docs.nextgis.com/docs_ngcom/source/create.html#team-management) can create and delete resources.

Make sure that the correct configuration is selected. To check if the credentials are correct, press **Test Connection**.

If guest or user chosen for authentication does not have access at least to the Main resource group of the Web GIS, an error message will appear. Select a different authentication configuration or contact the administrator of the Web GIS to get access permission.

Next press **Save** in the connection creating dialog ([Fig. 928.](#create-connection-pic)).

Click **OK**.

The connection selected in the “Connections” dropdown menu of the Settings dialog will become active **after** the dialog is closed.

<a id="new-config"></a>

### Add a new configuration

#### IMPORTANT
If you used Google account to log in to NextGIS services, you need to create an additional password for the Connect module. Go to [this page](https://my.nextgis.com/password/reset/?email=) and follow the instructions. After creating this password, you can still sign in with Google on web-based NextGIS services.

Press the button with a green plus in the Connection dialog ([Fig. 928.](#create-connection-pic)).

The “Authentication” dialog will pop up.

![Adding authentication configuration](docs_ngconnect/source/_static/auth_config_create_en_2.png)
1. Enter *Username* (email used for registration) and *Password* of your NextGIS ID;
2. Press **Save**.

Then proceed with checking the connection and finilize creating the connection as described above.

<a id="keycloak"></a>

## Keycloak authentication in NextGIS QGIS

Desktop app NextGIS QGIS, NextGIS Web, and NextGIS Connect which serves as a link between them handle geoinformation systems that use Keycloak authorization.

This option is relevant for corporate users who have a Web GIS deployed [on-premise](https://nextgis.com/pricing/).
