Spaces:
Running
Running
title: Shiny Geemap | |
emoji: π | |
colorFrom: yellow | |
colorTo: indigo | |
sdk: docker | |
pinned: false | |
license: mit | |
## How to authenticate Earth Engine | |
1. Follow the instructions [here](https://developers.google.com/earth-engine/guides/service_account#use-a-service-account-with-a-private-key) to create an Earth Engine service account. | |
2. Create a private key for the service account | |
3. Download the JSON key file | |
4. Open the JSON key file and copy the entire content of the file and set it as the value for the environment vaiable `EARTHENGINE_TOKEN` | |
5. Use `geemap.ee_initialize(service_account=True)` in your code to authenticate EE. Do NOT use `ee.Authenticate()` or `ee.Initialize()` in your code. | |