Steps
Log in to your Confluence server.
Go to the Cog Icon > General Configuration.
In the sidebar, click Google Credentials under Google Drive Configuration.
Enter the Client ID, Client secret, and API Key into the matching fields, then click Save.