Mapbox maps
Follow this step-by-step guide to purchase and set up Mapbox map with the app.
1. Create a Mapbox Account
- Visit the Mapbox website. 
- Click Sign Up and create an account using your email address. 
- Verify your email and log in to your Mapbox account. 

2. Set Up a Billing Plan
- Once logged in, navigate to the Billing section from the dashboard. 
- Add a payment method to activate your account. - Mapbox offers a free tier with 50,000 map loads per month. Additional usage will incur charges based on the Mapbox pricing plan. 
 
- Review and confirm your plan details. 

3. Create an API Key
- Go to the Access Tokens section from the Mapbox dashboard. 
- Click Create a Token. 
- Enter a name for your token (e.g., "Store Locator Key"). 
- Select Public Token if the key will be used for general map features. 
- Under Scopes, select the permissions required: - Map Loads: Allows maps to load in your app. 
- Geocoding: Enables address search functionality. 
 
- Click Create Token. Your API key will be generated. Copy this key for later use. 
4. Add the API Key to the SpiceGems Store Locator App
- Open the SpiceGems Store Locator App in your Shopify Admin. 
- Go to the Map Provider section. 
- Select Mapbox as your provider and paste the API key into the provided field. 
- Save your settings and verify the map loads correctly in the store locator. 
Frequently Asked Questions
1. Is Mapbox free to use? Mapbox offers a free tier with 50,000 map loads per month. Usage beyond this limit is charged based on their pricing plans.
2. How can I monitor my usage? Log in to your Mapbox account and navigate to the Usage Dashboard to track API requests and manage your plan.
3. What happens if I exceed the free tier? Additional charges will apply based on your usage. Review the Mapbox pricing to understand costs.
Last updated
