Step 1: Sign in
Log in to www.accounts.google.com
Step 2: Create a Google API project
Go to the Google API console. Click the down arrow next to Google APIs logo in the top bar.
On the popup, click the + button to create a new project.
Add a project name and click the Create button.
Step 3: Create OAuth credentials
Go to the Credentials tab. Click Create Credentials and select OAuth Client ID.
You will be redirected to a new page. Click the Configure consent screen button.
In the Product name shown to users input add a product name. Then click Save at the bottom of the page.
You will be redirected to a new page. Set Application type to Web Application and then set Authorized redirect URIs to
Step 4: Get the client credentials
Click the Create button. A pop-up with your Client OAuth credentials will appear.
Step 5: Paste the credentials in Sapho
Copy and paste the client ID and client secret in the input fields of G Suite Directory service definition in Sapho.
Step 6: Enable Admin SDK
Go to the Library tab and search for Google Apps APIs > Admin SDK and select it.
Hit the Enable button at the top of the page.
For more information about Admin SDK authorisation see see Google’s Directory API documentation.