All articles

Getting started

Add Google Login to Your Merchantly Store

Create a Google Client ID, paste it into Merchantly, and switch on Google login so your customers can sign in and sign up with Google.

Merchantly team · 9 October 2026 · 6 min read

On this page

A customer reaches your store's login page and sees Continue with Google. They use an account they already have to sign in or create a customer account. You can add that option without writing code.

The setup uses your own Google app. Merchantly needs its Client ID and the address Google should allow. Keep those two values distinct: the store address goes into Google Cloud; the Client ID comes back into Merchantly.

Two values to move between Google and Merchantly

There are four stages. Google Cloud is where you create the Client ID. Merchantly is where you paste the Client ID and switch the feature on. Your store's login and sign-up pages are where customers click "Continue with Google". Google only accepts sign-ins from the address you list under Authorized JavaScript origins, so that address must match your store exactly.

Set the Google app name and support email for your store. Google's consent experience uses the app's branding settings; the exact screen can vary with the sign-in method.

Diagram showing how Google Cloud, Merchantly and the store's login page connect for Google loginTap to enlarge

Keep these ready in two browser tabs

Gather these before you begin:

  • A Google account, to create the Google app.
  • Access to your store's admin with a role that can change store settings. Store Admin, Co-admin and Store Manager can do this.
  • An app name and a support email address. Google asks for both on its consent screen.
  • The Google Login tab open in Merchantly. Google needs an address that Merchantly shows, and you copy it from there.

Keep Merchantly and the Google Cloud Console open in two browser tabs. You move between them twice, and the address and the Client ID both travel from one to the other. No coding is needed.

Step 1: Create the OAuth client in Google Cloud

Keep the Google Login tab open while you create the client in Google Cloud.

Merchantly setup instructions showing the Web application client type and the origin to copyTap to enlarge
  1. Open Google Cloud Console from the link in Merchantly.

  2. Create or select your store's Google project.

  3. Configure your store's app name and support email on the consent screen.

  4. Follow Merchantly's instruction to publish the app for customer use.

  5. Open Create credentials.

  6. Choose OAuth client ID.

  7. Select Web application as the application type.

  8. Copy the Authorized JavaScript origin shown in Merchantly.

    You should see: your store's address beside its copy button.

  9. Paste that address under Authorized JavaScript origins in Google Cloud.

  10. Leave redirect URIs empty for this Merchantly setup.

  11. Create the client.

  12. Copy the Client ID for the next section.

For Tumbly, the origin is https://tumbly.merchantly.in. Copy your own store's value rather than this example. Do not add a login-page path to it.

Google's current console may show Google Auth Platform, with Branding, Audience and Clients. Under Clients, use Create client and select Web application. These are the current names for the same setup described in Merchantly's card. See Google's setup guide.

Testing does not always block unlisted users. Google makes an exception for basic name, email and profile sign-in. Follow the publishing instruction for your customer-facing app, but do not use Testing status alone to diagnose a sign-in failure. See Google's audience rules.

Step 2: Paste the Client ID into Merchantly and switch it on

Return to Admin, open Settings, then choose Google Login.

Google Client ID field, Enable Google login switch and Save button in MerchantlyTap to enlarge
  1. Paste your Client ID into Google Client ID.

    You should see: the field contains your ID, ending in .apps.googleusercontent.com.

  2. Turn on Enable Google login.

    You should see: the switch is on after you enter a Client ID.

  3. Press Save.

The switch is disabled while the Client ID field is empty. Merchantly expects a value shaped like 1234567890-abcdef.apps.googleusercontent.com. This is an example, not a working ID. If the value is rejected, copy the complete Client ID again.

Test the whole customer sign-in, not just the button

  1. Open your store's customer login page in a private browser window.
  2. Check for Continue with Google.
  3. Use that button to complete a customer sign-in.
  4. Check the customer sign-up page for the same button.

You should see: Continue with Google on both pages, with a completed sign-in when you use it. A visible button is the first check; completing sign-in checks the Google connection too.

If you use a custom domain, repeat the check there. Keep the Merchantly store address and custom domain as separate Google origins. This guide sets up customer accounts for your store. The Merchantly account login for store owners is a separate sign-in.

Missing button or an origin error? Start here

  • The button is missing. Check that the Enable Google login switch is on and that you pressed Save.
  • Google says the origin is not allowed. The address in Google Cloud must exactly match the one Merchantly shows, including https. A custom domain needs its own entry.

Compare the origin character by character before changing other settings. Use the address where the customer is signing in. A correct Merchantly subdomain entry does not cover a different custom domain.

Client secrets, custom domains and team access

Do I need to share my client secret?

No. Only the Client ID is needed. Never share the client secret. The Merchantly page says the same thing. If Google shows a client secret next to your Client ID, leave it where it is. Merchantly does not ask for it, and you should not paste it into Merchantly.

I also use a custom domain, what changes?

Add the custom domain as another entry under Authorized JavaScript origins in Google Cloud. For example, add https://shop.example.com. Each domain needs its own entry, and it must match exactly, including https.

Who on my team can set this up?

You need the permission to change store settings. Store Admin, Co-admin and Store Manager all have it, so anyone in those roles can do this. Ask someone in one of these roles if you cannot edit the setting.

To give a teammate access to this setup, read how to add team members and choose roles.

Keep reading

Ready to open your store?

Start free, sell with 0% commission, and upgrade a store when it grows.

Become a Merchantly pilot partner
Add Google Login to Your Merchantly Store | Merchantly