Skip to main content

โš™ Configuration

In this section we will make possible downloading satellite data.

Getting API credentialsโ€‹

  1. Go to dashboard account settings
info

If you don't have Sentinel Hub account, sign up.

  1. Press Create button in OAuth clients section.

conf-first.png

  1. Choose a client name and press the Create button again.

conf-second.png

  1. Save ID and TOKEN (this is the only data we need).

conf-third.png

danger

You will never be able to view your token again. Make sure you saved it.

  1. Now in the settings you can see that we created credentials successfully.

conf-fourth.png

Providing credentialsโ€‹

info

This part is only for those who want to change credentials or didn't configure fguard before.

Next step is telling fguard ID and TOKEN. You can do it in two ways.

Inline providingโ€‹

Just run:

fguard config --id "<ID>" --token "<TOKEN>"

Using settings fileโ€‹

You need to create settings.toml file:

[config]
id = "<ID>"
token = "<TOKEN>"

After that run:

fguard config --file "<path/to/settings.toml>"

Now you are ready to create your first request.