skip to main content
Administering Hybrid Data Pipeline : Integrating Hybrid Data Pipeline with a Google OAuth 2.0 authorization flow to access Google Analytics : Registering Hybrid Data Pipeline as a client application with the Google Analytics API
  

Try Now

Registering Hybrid Data Pipeline as a client application with the Google Analytics API

Hybrid Data Pipeline must be integrated as a client application into a Google OAuth 2.0 authorization flow to create a data source for accessing Google Analytics. Registering Hybrid Data Pipeline as a client application with the Analytics API is the first task in achieving this integration.
Take the following steps to register Hybrid Data Pipeline as a client application with the Analytics API.
1. Launch the Google Developer Console and log in with the appropriate Google account credentials.
2. Create a new project.
3. Click Library on the left. Then navigate to and click Analytics API. Then enable the Analytics API.
4. Click Credentials on the left. Then click Credentials in APIs & Services.
5. Under the OAuth consent screen tab, enter the required details and click Save.
6. Under the Credentials tab, click Create credentials > OAuth client ID.
7. Provide the following information in the Create client ID dialog.
a. Select Web application.
b. Enter an application name.
c. Specify the Hybrid Data Pipeline URL (for example, https://hdp-test:8443) in the Authorized JavaScript origins field. The domain name must be fully qualified.
d. Click Create.
8. Copy the client ID and secret key to a text editor. These credentials will be used to create an OAuth application object using the OAuth applications API.
What to do next:
Once Hybrid Data Pipeline has been successfully registered with the Analytics API, an administrator should proceed with the next task in integrating Hybrid Data Pipeline with a Google OAuth 2.0 authorization flow: Using the OAuth applications API to create an OAuth application object.