...
To create a Salesforce app, complete the following steps:
Login into Google Developers Console
First, you will need to log in into your Google Account and then to access the Google Developers Console
Select a Project
After you login and access the Google Developers Console click on Select a Project Menu Item
Create a Project
After we click on Select a project Menu Item a popup will appear. We will need to click on New project
Setup the Project
After we click on New Project we will need to choose a name for the project. After finishing to setup the Project click on Create
Create Credentials
To use the Google API we need to Create Credentials. Click on Credentials to get started
After clicking on Credentials we will need to create an OAuth 2.0 client ID. Click on the OAuth consent screen
Create an OAuth 2.0 client ID
Choose from the following options and then click on Create:
Internal – Only available to users within your organization
External – Available to any user with a Google Account
After clicking on Create we will need to set the following options
Page1: OAuth consent screen
Application name – The name of the app asking for consent
User support email – For users to contact you with questions about their consent
Application logo – Optional
Application Homepage page – Optional until you deploy your app
Application Privacy Policy link – Optional until you deploy your app
Application Terms of Service link – Optional
Authorized domains – Optional until you deploy your app
Email address – These email addresses are for Google to notify you about any changes to your project
Click Save and Continue
Page2: Scopes
Your non-sensitive scopes- you should add the following 3 scopes
Click Save and Continue
Page3: Test Users
Click Save and Continue
Page 4: Summary
Click Save and Continue
Go to Credentials → Create credentials → OAuth client ID
Select OAuth Client ID
Choose your Application type
Web Application
We will need to set the following options
Name – Add your own name
Authorized JavaScript – Add your website URL (Optional)
Authorized redirect URLs – Add your website URL – https://api-qa-in1.pwrapps.com/connection/v1/orektic1/default/authorize/orektic1__newConnectedApp
After you finish click on Create
Client ID Credentials
After clicking on Create you will be prompted with your Client ID Credentials. You will need to copy the Client ID and click on “Done. You will also need to copy the name of your OAuth 2.0 client
How to create a connection provider in PWR Apps
Login into the PWR Apps account
Click on Business> Connection Provider from the left navigation menu
Click on New
Select Salesforce From the Adapter dropdown
Enter the Label and Name
Select Instance Type > Production
Client ID -
Enter the Consumer Key in the Client ID
Client Secret-
Enter the Consumer Secret in the Client Secret
Redirect URL-
Enter the call-back URL in the Redirect URL
Click Save
...
Created Connection Provider display in the list
...