Credentials Setup

The following are steps to setup your credentials to start using the Data SDK for Python with HERE services. The SDK for Python requires three sets of HERE credentials.

  1. Platform credentials, to be able to access the HERE data
  2. location Service credentials, to access HERE Location Services from within Jupyter
  3. Repository credentials, to access data schemas, conda environments and other HERE artifacts

Note

For additional information about authentication credentials, see the Identity & Access Management Guide.

Platform Credentials

To obtain HERE platform credentials you will need to create a HERE application. To begin, go to Platform Applications and Keys, register a new app, create a key for this app, and then download its generated credentials.properties file. Place the credentials file into:

For Linux/MacOS: $HOME/.here/credentials.properties

For Windows: %USERPROFILE%\.here\credentials.properties

The HERE platform generated app credentials should look similar to the example below:

here.user.id = <example_here>
here.client.id = <example_here>
here.access.key.id = <example_here>
here.access.key.secret = <example_here>
here.token.endpoint.url = <example_here>

Location Service Credentials

To obtain HERE Location Service credentials you will need to generate a new App ID and App Code. To begin, go to the HERE Developer Site, request REST App ID and App Code, and then copy the APP ID and App Code into a hls_credentials.properties file. Place the credentials file into:

For Linux/MacOS: $HOME/.here/hls_credentials.properties

For Windows: %USERPROFILE%\.here\hls_credentials.properties

This HERE Location Service credentials file should look similar to the example below:

app_id = <example_here>
app_code = <example_here>

Repository Credentials (DEPRECATED)

To obtain the repository credentials you will need get your maven credentials file settings.xml. To begin, go to the repository on the HERE platform, create repository credentials, and then download the settings.xml file. Place the credentials file in your Maven settings directory:

For Linux/MacOS: $HOME/.m2/settings.xml

For Windows: %USERPROFILE%\.m2\settings.xml

The repository credentials file should look similar to the example below:

<settings ...>

<servers>
  <server>
    <id>HERE_PLATFORM_REPO</id>
    <username>#USER_NAME#</username>
    <password>#PASSWORD#</password>
  </server>
</servers>

...

</settings>

Installation Types

Local Installation:

  1. HERE Data SDK for Python - Analytics.
  2. HERE Data SDK for Python - Core.
  3. HERE MLflow Plugin.

Build your own Docker: Build Your Own Docker.

results matching ""

    No results matching ""