If you don't have your Google Console Cloud project it will be necessary to create them.
Note: The Google Console Cloud project must be created on the same account as your Google Merchant Center project.
Google Console Cloud:
- On this link https://console.cloud.google.com/ we can start creating our Console Cloud project
- If no project is connected to your email, when reading the page, a modal will open in which you need to set the basic data
- After filling them in, we move on to creating our Google Cloud project
- In the upper left corner there is a "Select a project" button, clicking on this button opens a new window where we can choose the project we want or create a new one
- In the upper right corner of the newly opened window there is a "New project" button, by clicking on it we start creating our new Google Console cloud project which will be connected to the desired store
1) Fill in the "Project name" and "Location" fields and then click the "Create" button
2) Wait a few seconds for the new project to be created
3) When the project is created in the upper right corner of the page, you can see the bell button, it represents the button that opens notifications, by clicking on that button you will get a message like "Create Project: Test project" - "Select project", then click on the "Select project" button
4) Now you need to connect your project with your store
5) In the upper left corner of the page, next to the "Google Cloud" logo, there is a hamburger menu (Navigation menu), clicking on it opens a new window. Inside that window, find the "APIs & Services" section and click on it
6) A new page "APIs & Services" opens, in the upper part of the page there is a field for search, in that field you need to enter the text "Content API for Shopping", the search option will find this service and then click on it
7) By clicking on
"Content API for Shopping" the page of this service will open, you need to click the blue button
"Enable" and wait a few seconds
8) After successfully enabling the service, a new page will open. On the left side we will be able to see an open menu, inside that part find the part
"OAuth consent screen" and click on it
9) After opening the new page, it is necessary to adjust the project:
-
"Branding" section - enter the App name (this field only contains the name, we recommend that it be the name of your store), user support email (in this field we recommend entering the same email address where the Google Console Cloud and Google Merchant Center projects are located) then click the
"Next" button, in the next step we suggest you click the
"Internal" option, then click the
"Next" button again,
"Contact Information" -> enter your email address, Finish with agree the policy and finally click the
"Create" button
-
"Audience" section - in the
"Test users" section, add your test users, we suggest that it be only the email address where the project was created (the one used from the beginning), because it will be used for authentication within your Shopware store, enter that address and save
- Section
"Clients" - in the upper left part of the page under the search element you can see the button
"+ Create client", click on it and a new window will open.
"Create OAuth client ID" serves us to create a client ID value that we use for authentication via Google,
"Application type" select
"Web application", in the
"Name" field we suggest you enter Google Merchant Center Client so that you can more easily know what OAuth is for,
"Authorized JavaScript origins" ->
"+ Add URI" you need to add your domain (home page of your store) click on the button and you will see an example,
"Authorized redirect URIs" ->
"+ Add URI" -> you need to add a link to the home page of your store, and finally click the
"Create" button
* A new window will open that contains information that you will need later to enable the functionality of our plugin, copy the
"Client ID" value and save it somewhere (you can later find this value on your console.cloud.google project). And then click on the "Ok" button
- "Data Access" section - You need to click on the "Add or remove scopes" button, a new window will open in which you need to find and select the Scope ".../auth/content" which in the "User-facing description" field has the description "Manage your product listings and accounts for Google Shopping", on the left you can notice a checkbox field that needs to be checked/enabled and finally press the "Update" button located at the bottom of the new window. After adding the scopes, scroll down the page and press the "Save" button
After all this, we return to the
"Branding" section and complete the setup of our Google Console Cloud account. In the section for
"App logo" you can enter the logo of your store,
"App domain" enter the links needed to register your domain, all these links should be on your shopware store, and after that press the
"Save" button at the bottom
You can find your
Client Id on the path:
hamburger menu ->"APIs & Services"-> "OAuth consent screen" -> "Clients"Merchant Center ID:
You can find the Merchant Center ID in the Merchant Center account section, in the top right-hand corner.