This tutorial provides step-by-step instructions on how to create a project on Google Developer Console and enable the Place Autocomplete API and connect with Campoal
Step 1: Go to the Google Developer Console Visit https://console.developers.google.com/ and sign in to your Google account. If you don’t have a Google account, you’ll need to create one.
Step 2: Create a New Project Once you’re logged in, you’ll be taken to the Dashboard. To create a new project, click on the “Select a Project” dropdown menu at the top of the page and click on the “New Project” button.
Step 3: Give Your Project a Name You’ll be prompted to give your project a name. Choose a name that you’ll be able to remember and click “Create”.
Step 4: Enable Billing Before you can use the Place Autocomplete API, you’ll need to enable billing. Click on the “Billing” link in the left-hand menu and follow the prompts to set up billing for your account.
Step 7: Enable the API Click on the “Enable” button to enable the Place Autocomplete API for your project.
Step 8: Create Credentials In order to use the Place Autocomplete API in your application, you’ll need to create credentials. Click on the “Create Credentials” button and select “API key”.
Step 9: Restrict the API Key To protect your API key, you’ll want to restrict it so that it can only be used by your application. To do this, click on the “HTTP referrers” radio button and enter the domain name of your application.
Step 10: Connect the API Key with Campoal To use the Google API key in Campoal, copy the API key you just created.
Final Step: Log in to your WordPress dashboard. Navigate to Theme Options > Authentication and paste the API key into the Google API key field. Finally, save your changes. This will allow Campoal to access the Place Autocomplete API and provide location suggestions to your users.
Congratulations, you’ve successfully created a project and enable Place Autocomplete API on Google Developer Console and integrate with Campoal to make suggestion address feature worked!