description |
---|
Configure your google maps API key to enable the maps widget on Appsmith |
To enable the maps widget, login to your google cloud console
1. Navigate to the credentials section under APIs & Services
2. Create a new API Key Credential
3. Restrict the API Key
4. Enable the following APIs
- Maps Embed API
- Maps JavaScript API
- Places API
- Geolocation API
5. Update the docker.env file in your Appsmith deployment folder
# ******** Google Maps ***********
APPSMITH_GOOGLE_MAPS_API_KEY=YOUR_API_KEY
# ********************************
6. Restart docker & nginx
sudo docker-compose rm -fsv appsmith-internal-server nginx && sudo docker-compose up -d
The maps widget should now be enabled on your installation. Read more about Obtaining a google API key