When integrating Rails with a third-party application, it is essential to have a Google Client ID and a secret key. The following steps will guide you on how to get your Google client ID and secret key.
Step 1: Browse the Google Developer portal.
Google Developers Console.
Step 2: Login into your existing google account or, else create a new account.
Step 3: On the dashboard, click on the dropdown menu as shown in the image.
Step 4: Click on New Project.
Step 5: Click on Create button.
Step 6: Choose the Enable APIs and Services option.
Step 7: Search for the Google Play Android Developer API. You can even scroll down to the Mobile section as indicated in the image attached below.
Step 8: Select the Google Play Android Developer API.
Step 9: Choose the Enable option to activate the key.
Step 10: Click on Create credentials.
Step 11: Click on OAuth Client ID.
Step 12: Select the Application Type by clicking on the dropdown menu.
Step 13: Select the web application option.
Step 14: Click on Add URL.
Once the URLs are entered, click on Create to continue.
Step 16: A popup window will show the Client ID and Secret Key. Copy them.
Step 17: Paste the copied keys in their respective fields on the creator software and click on connect. Now, it’s time to link your Google Cloud project -
Step 18: Go to Google Play Console.
Step 19: If you have an existing Google Developer account, log in or sign up for a new account.
Step 20: Click on Settings.
Step 21: Click on API Access under the Developer Account.
Step 22: Select Link Existing Project or create a new project.
Step 23: Click on the Project dropdown menu.
Step 24: Select the project to be linked.
Step 25: Once the project is selected, click on Link Project.
Step 26: In the final widow you show the project that has been linked. The user can also unlink the project.