Aller au contenu
For the complete DHIS2 documentation index, see llms.txt.

Configuration du compte de service Google

DHIS2 can connect to various Google service APIs. For instance, the DHIS2 Maps app can utilize the Google Earth Engine API to load Earth Engine map layers. There are 2 ways to obtain the Google API key.

Set it up yourself

Set up a Google service account and create a private key:

  • Créez un compte de service Google. Veuillez consulter la documentation de la plateforme Google Identify

  • Visitez la Console Google Cloud et allez dans API Manager > Identifiants > Créer des identifiants > Clé du compte de service. Sélectionnez votre compte de service et JSON comme type de clé et cliquez sur Créer.

  • Renommez la clé JSON en dhis-google-auth.json.

Après avoir téléchargé le fichier de clé, placez le fichier dhis-google-auth.json dans le répertoire DHIS2_HOME (le même emplacement que le fichier dhis.conf). Cet emplacement pourrait ressembler à ceci :

/home/dhis/config/dhis-google-auth.json

Send an email to set up the Google Earth Engine API key

If you only intend to use the key for the Google Earth Engine map layers, you can simply send an email. See the Google Earth Engine API key documentation.

Bing Maps API key

To enable use of Bing Maps basemap layers, you need to set up the Bing Maps API key. See Bing Maps API key documentation for information on setting up the key.