Setting up your BigQuery warehouse
To set up a connection to BigQuery:
- Click the Data icon on the left panel.
- Click Connections. In the Connections section, click +New Connection. A popup will appear that displays all the data source types that your NetSpring application can ingest.
- Browse through the connection types and click BigQuery.
- Configure the fields that are listed below:
The fields are listed below:
Field | Description |
---|---|
Project ID | ID of the project that you want to connect. Use the same project in which the Service Account and the Role were created. You can also find this information in the JSON file downloaded in the previous step. Open the file and copy the value in the project_id field. |
Service Account Email | Email address of the service account that was created in the previous step. You can also find this information in the JSON file downloaded in the previous step. Open the file and copy the value in the client_email field. |
Service Account Key JSON | Copy the entire content of the downloaded JSON file and paste it in the text box provided. |
info
Following are examples of the fields you will need to fill out while creating a BigQuery connection in NetSpring.
Project ID
For this field, paste the value corresponding to the Project ID field in your JSON file.
Example: stately-lodge-3613456
Service Account Email
For this field, paste the email address corresponding to the Service Account Email field in your JSON file.
Example: netspring-byow@stately-lodge-3613456.iam.gserviceaccount.com
Service Account Key JSON
For this field, paste the entire content corresponding to the Private Key field in your JSON file.
Example:
{
"type": "service_account",
"project_id": "stately-lodge-3613456",
"private_key_id": "6ae1360e16775af76163aa3891ccaffc08706d02",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCo9zZ+kDmFbnS+\n0qHf6nb3M6JryOlrag7QKhkSYTuC0AkuqSGRiUcWDEMW33WhVtJshK3T9PacU6fB\np5cH75aKydBblOJgNT0t8DDDOviVGFhJs0o8ITZAjI4odVr0UWbYmehPb7tjMNV5\nlfz3RYFiCITLyTAS/Pt1FFvXkcwreQtARwqpixVNEqviHPFiUk5XuQPVNnZZsQzX\n4TJQxz1QycMoeMxm2D0OsfugF8DsdKc2ms0JUZ9lbMhmZKaCY1cVLi38JRkE+vfl\n4ZpxyUR31h9hNO2tSLRPJKdS1WcdI5XfekrfgU7WgPmaXVqcvll\nDYUyqOiFAgMBAAECggEAAIHWy8JZoBL3FU2Nx2TJ1do8qL3Vl8Idr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yB\nyckawDHwo/UUe/YWTSkgqBOvY5DqAh+HiDASN5NbSSzBu4iRBc9rBB1j6Rng32IK\nPVZC6tJgWDJ5ly1SHd0rGsUAGjvqHN9x59MRR28o0ahaOzroV6wT68+bxdtDlcT9\nd2u6XTSBHCkVtK/tgsEJNEk=\n-----END PRIVATE KEY-----\n",
"client_email": "netspring-byow@stately-lodge-363318.iam.gserviceaccount.com",
"client_id": "110408766655969317177",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/netspring-byow%40stately-lodge-363318.iam.gserviceaccount.com"
}
- Click the refresh icon next to Health to test the connection's configuration. If the icon turns green, you are good to go.
- Click Save to save the connection.
