Instead of using the default Google_Calendar alias, you can create your own connection and credential alias to use it with your Google Calendar provider.
Before you begin
Setup OAuth connectivity with Google Calendar
Ensure that the application scope is set to
Google Calendar Spoke. Otherwise, do the following:
- Select the Application scope icon (
) on the top-right corner of your Employee Center homepage.
- In the drop- down, select the option consisting Application scope:.
- In the filter navigator, search and select Google Calendar Spoke.
- Refresh the page.
Role required: admin
Procedure
-
Navigate to .
-
Select New.
-
On the form, fill in the fields.
Table 1. Connection & Credential Aliases form
| Field |
Description |
| Name |
Name for the connection and credential alias. |
| ID |
The field is automatically generated after you save the form based on the specified Name. |
| Application |
Ensure that the application is set as Google Calendar Spoke |
| Parent alias |
Select sn_gcalendar_spoke.Google_Calendar. |
-
Select Submit.
The Connection and Credential alias record is created. As the next step, you must create a OAuth 2.0 credential record.
-
Create an OAuth 2.0 credential to use in the newly created connection and credential alias record.
-
Navigate to .
-
Select New.
-
Select OAuth 2.0 Credentials.
-
On the form, fill in the fields.
Table 2. OAuth 2.0 Credentials form
| Field |
Descriptions |
| Name |
Name of the credential. Provide a unique name to differentiate from the default credentials provided by the application. |
| Active |
Option to activate the credential. |
| OAuth Entity Profile |
Select the default OAuth entity profile that was generated when you performed the app registry in Setup OAuth connectivity with Google Calendar. |
| Applies to |
Specify how you want to apply to the MID servers. |
| Order |
Order for the credential. |
-
Select Submit.
The credential record is created.
-
Open the credential record.
-
On the form, select Get OAuth Token.
On the Google window that opens, enter your credentials.
-
Select Update.
-
Configure connection for the connection and credential alias.
-
Navigate to .
-
Select the connection and credential record that you created in the initial steps.
-
On the form, in the Connections related list, select New.
-
On the form, fill in the fields.
Table 3. HTTPs Connection form
| Field |
Description |
| Name |
Name of the connection. |
| Credential |
Select the credential record that you created in Step 5. |
| Connection alias |
The field is automatically set with the connection and credential alias. |
| Connection URL |
Enter https://www.googleapis.com. |
-
Select Submit.
Result
The connection and credential record is created with specified credentials and connections.