Google Maps API Key
Before you start, make sure you can access the Google Cloud console: https://console.cloud.google.com/google/maps-apis/
Need Help?
Enable the APIs
- Maps Embed API
- Maps Javascript API
- Maps Static API
- Places API or Places API (New)Note: If you see the option for Places API (New) in your list, select it. Otherwise, select Places API.
Create or Copy an API Key
- In the API Library of the Google Cloud console, select Maps Embed API or Maps Javascript API.
- Go to the Credentials page.
- If an existing key is not listed, create or copy a new API Key.
- Remember to restrict the API key before using it in production. For help with this, see API security best practices (developers.google.com).
Once you have an API Key, you can configure it for the Platform, tools and Life Apps, and/or Widgets.
Configure Key for Platform URL
- Click the API Key on the Credentials page.
- Under Application Restrictions, click HTTP Referrers (web sites).
- Under Accept requests from these http referrers (web sites), enter your MinistryPlatform URL.
Your Platform URL will look like this, where "{domain-url}" is the URL for your MinistryPlatform instance: https://{domain-url}/*
Configure Key for Two Cloud URLs
- Click the API Key on the Credentials page.
- Under Application Restrictions, click HTTP Referrers (web sites).
- Under Accept requests from these http referrers (web sites), enter your Cloud URL.
- To find your Cloud URL, see Find your Cloud URL for Cloud Tools & Batch Manager and Find Your Cloud URL for Life Apps & Template Editor.
- Add "/*" to the end of your URL.
Your Platform & Widgets Cloud URL will look like this: https://{churchname}.ministryplatform.cloud/*
.
Your Tools & Life Apps Cloud URL will look like this: https://{churchname}.cloudapps.ministryplatform.cloud/*
Configure Key for Widgets URL
- Click the API Key on the Credentials page.
- Under Application Restrictions, click HTTP Referrers (web sites).
- Under Accept requests from these http referrers (web sites), enter your Widgets URL.
- Your Widgets URL is the webpage (most likely on your church website) where you embedded the widgets you use.
- Add "/*" to the end of your URL.
Add Key to the Configuration Setting
Add Key to Your Domain
- Copy your Google Maps API Key from the Google Cloud console.
- In the navigation menu, click .In the navigation menu, click .
- Open the Domain record.
- Click Edit Record.
- Locate Google Maps API Key, and paste the value into that field.
- Click Save.
Google Maps API Key Troubleshooting
After you get your Maps API key and configure the Platform, if widgets don't update based on changes to your API key, you may need to recycle your Widget application pool.
Contact Support for help.