Authorization

Google Analytics
Prerequisites
Before creating a Google Analytics credential, you need to have a Google Analytics account with API access enabled. Google Analytics uses OAuth 2.0 authentication to securely authenticate API requests.
To set up OAuth 2.0 authentication for Google Analytics, you need to have a Google account with access to Google Analytics. The OAuth 2.0 authorization flow allows Nexla to access your Google Analytics data on your behalf. The default access scope is https://www.googleapis.com/auth/analytics.readonly, which provides read-only access to your Google Analytics data. For detailed information about Google Analytics API authentication and setup, refer to the Google Analytics API documentation.
Create a Google Analytics Credential
- To create a new Google Analytics credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
New Credential Overlay – Google Analytics

Credential Name & Description
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
Resource descriptions are recommended but are not required. They should be used provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.
OAuth 2.0 Authentication
Google Analytics uses OAuth 2.0 authentication with Nexla's public application. The OAuth 2.0 authorization flow is handled automatically by Nexla, and most OAuth settings are pre-configured.
-
Select the access scope for your Google Analytics credential from the GA Access Scope dropdown menu. The default scope is
https://www.googleapis.com/auth/analytics.readonly, which provides read-only access to your Google Analytics data. -
Click the Authorize button to start the OAuth 2.0 authorization flow. You will be redirected to Google's authorization page where you can sign in to your Google account and grant permissions to Nexla.
The OAuth 2.0 authorization flow allows Nexla to access your Google Analytics account on your behalf. You will be asked to grant permissions for the selected access scope, which provides access to your Google Analytics data. The authorization process is handled automatically by Nexla, and you will be redirected back to Nexla once authorization is complete. The default scope
https://www.googleapis.com/auth/analytics.readonlyprovides read-only access to your Google Analytics data, which is sufficient for most data retrieval operations. For detailed information about Google Analytics OAuth 2.0 setup and available scopes, see the Google Analytics API documentation.
Save the Credential
-
Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.
-
The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.