Spaces:
Running
Running
File size: 704 Bytes
c715b82 d903341 c715b82 db73ee9 c715b82 db73ee9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
---
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.
|