shiny-geemap / README.md
giswqs's picture
Update README.md
db73ee9 verified
|
raw
history blame contribute delete
No virus
704 Bytes
metadata
title: Shiny Geemap
emoji: 🌍
colorFrom: yellow
colorTo: indigo
sdk: docker
pinned: false
license: mit

How to authenticate Earth Engine

  1. Follow the instructions here 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.