Authentication
Authentication
To use the API you need to have an access token. You can get an access token by logging into Elements, going to your profile, and clicking API token.
Once you have a token, then you need to set two environment variables:
ELEMENTS_TOKEN- your provided API token when you got your Elements accountELEMENTS_HOST- the host to use when making API calls. This should always be `terrascope-api1.orbitalinsight.com unless you are an internal user testing in a development environment
export ELEMENTS_TOKEN=XXXXXXXXXXXX
export ELEMENTS_HOST=terrascope-api1.orbitalinsight.comUpdated 3 months ago