Getting Your Client ID and Client Secret from Google

In order to connect to your Google calendar, you have to set up the Google Calendar API for your Google account and get a Client ID and Client Secret from Google that you can then paste into the fields inside your Simply Schedule Appointments Google Calendar settings to enable the connection. Here are the steps for getting this set up on your Google account and getting the Client ID and Client Secret that you need.

Please note: Google changes this process all the time. We do our best to keep this up to date with the latest thing Google is doing, but there’s usually no warning or notification that the process has changed. If you need help, please contact support and we’ll help you get it sorted out.

1. Open the Google Developer APIs and Services Dashboard

Go to the Google Developer APIs and Services Dashboard. Create a new project or choose an existing one. If you have no idea what this is, you most likely want to Create a new one.

2. Name your project

If you chose to create a new project in step 1, then enter a project name then click Create. (Skip this step if you selected an existing project in Step 1)

3. Select the project you just created

(Skip this step if you selected an existing project in Step 1.)

As of November 2018, when you create a new project, Google sends you to the project dashboard for the Google Cloud Platform. You’ll see a popup appear that shows a progress indicator while Google creates your new project. However, if you have other projects, you may actually be on the dashboard for one of your other projects. Wait until the progress indicator stops spinning so that you know your new project is set up for sure. Then, select your project from from the project selector on the top toolbar. You may have to refresh the page to see your new project.

4. Head back to the API dashboard

(Skip this step if you selected an existing project in Step 1.)

Look for the Getting Started card it should be at the bottom left. Click Enable APIs and get credentials like keys.

5. Enable APIs

If you came here from Step 4 after creating a new project, or if you selected an existing project in Step 1, you’re now on the Google API dashboard for your project. Click the Enable APIs and Services link near the top of the page.

5. Google API Library

In the Google API Library, search for calendar.

6. Select the Google Calendar API

Select the Google Calendar API from the list of search results.

7. Enable the Google Calendar API

You’ll be taken to the Google Calendar API page. Click the Enable button to add the Google Calendar API to your project.

8. Create a Credential

As of November 2018, after enabling the Google Calendar API you might stay in the Google APIs dashboard (white toolbar at the top), or you might be taken to the Google Cloud Platform (blue toolbar at the top). Either way, you want to select Credentials from the left menu. It looks like a little Key.

If you’re in the Google APIs dashboard (white toolbar at top), go ahead to Step 9.

If you’re in the Google Cloud Platform (blue toolbar at top), then you want to create a new credential. That can look a few different ways, so use these screenshots to find the right link:

9. OAuth Consent Screen

No matter how you got here, you should now be on a screen with a menu with options for setting up a new credential. Click the link to the OAuth consent screen

10. Configure OAuth Consent Screen

Enter an Application name, and select an email address for Support email. Under Scopes for Google APIs, click Add scope and select the Google Calendar API with the scope of ../auth/calendar. Finally, under Authorized domains, add two:

  1. simplyscheduleappointments.com
  2. Your site domain – it should be just your domain name – no subdomains or subfolders

All other fields are optional and can be skipped. Click Save.

11. Create OAuth Client ID

Now that your OAuth consent screen is configured, you’ll be taken back to the Credentials page. Click the blue Create credentials button and select OAuth client ID from the dropdown.

12. OAuth Application

Select Web application as the application type and enter a name. Under Restrictions, look for Authorized redirect URLs and enter https://auth.simplyscheduleappointments.com. Click Create. (You may need to click Create twice)

13. Get your Client ID and Client Secret

After completing the steps above, you should see a box with your client ID and client secret.

Copy your client ID and client secret to Simply Schedule Appointments and click Save and Authorize. Google will ask permission for Simply Schedule Appointments to access your calendar. Follow the prompts and you’ll be taken back to Simply Schedule Appointments with Google Calendar connected. You’re done. Hooray!

 

Help! I closed the box with the Client ID and Secret without copying them.

No worries – you can head back to the Credentials page. You should see a section on the page titled OAuth 2.0 client IDs. Just click on the client you set up there, either by clicking the Name or by clicking the edit pencil on the right.

You’ll see your Client ID and Client secret right at the top to copy.

If you don’t see your client, double check the project on the toolbar to make sure you have the correct one.