Learn more about the Google BigQuery integration in Nexudus.
Google BigQuery is a Google Cloud Platform service that lets you transfer data from your Nexudus account to a data warehousing project in real-time. You can then build queries using SQL.
It doesn't include what Google BigQuery will charge you based on your data usage and queries
Integrating Google BigQuery
You need a Google BigQuery account prior to starting the integration process. Integrating Google BigQuery is a three-step process.
Step 1. Creating a Project in Google BigQuery
The first step of the integration is to create a project for your location in Google BigQuery and copy the project ID.
Managing more than one location?
You can choose to keep track of each individual location in the same project or create an individual project per location.
- Log in to your Google BigQuery account.
- Click Create Project.
- Name your project.
- Copy and save your project ID that is displayed under your project name.
You will need the project ID during Step 3 to enable the integration in Nexudus.
- Select your organization from the drop-down menu.
- Select the relevant location from the drop-down menu.
- Click Create.
You've successfully created a project for your Nexudus location. Make sure you have your project ID saved for Step 3 of the integration process.
Step 2. Getting Your Google BigQuery Credentials
Now that you've created your project, you need to get Google BigQuery credentials. These credentials are necessary to enable the integration in Nexudus.
- Go to https://console.cloud.google.com/apis/credentials.
- Click Create Credentials > Service Accounts.
- Add a meaningful title in the Service Account Name field.
- Click Done.
You are redirected to the Credentials page.
- Click the service account you've just created in the Service Accounts option.
- Click the KEYS > Add Key.
- Select Create New Key in the drop-down list.
- Select JSON as the key type.
- Click Create.
A JSON file is automatically downloaded.
- Click Close.
Your credentials are in a JSON file that you can find in the Downloads folder of your device. You can use the simple text editor that is already available on your device to open the file, namely Notepad in Windows or TextEdit in Mac.
- Open Notepad or TextEdit on your device.
- Click File > Open.
- Select All files from the drop-down menu next to the File Name field.
- Select your JSON credentials file and click Open.
Your file includes a code snippet between curly braces.
Leave the file open and move to Step 3.
Step 3. Enabling the Google BigQuery Integration in Nexudus
Make sure you have the following information ready to copy and paste in Nexudus:
- Your Google BigQuery project ID
- Your JSON credentials file
Want to transfer data from various locations to Google BigQuery?
Enable the integration in every location that you want to connect to Google BigQuery.
- If the side menu is not visible, click .
- Click Settings > Integrations > Google BigQuery.
- Set the Enable toggle to YES.
- Select the data you want to have transferred from Nexudus to Google BigQuery by dragging the relevant transfer toggles to YES.
- Copy and paste your Google BigQuery project ID in the Project ID field.
- Remove the [obfuscated] element in the Credentials field.
- Copy and paste the entire code snippet from your credentials file in the Credentials field.
Make sure you include all the code snippet, including the curly braces.
- Click Save Changes.
- Click Upload All Data in order to transfer the existing data in your account to Google BigQuery.
Now that you've completed the integration process, you can see a menu named Nexudus in your Google BigQuery project. This menu includes a dataset for each of the type of record you decided to transfer from Nexudus to your Google BigQuery project.
If you create or update a Nexudus record that is part of the transfers included in the integration settings, the record is added or updated almost instantly in BigQuery. Deleted Nexudus records can take up to 24 hours to be removed from your Google BigQuery project.
You can access this ERD Diagram to help you understand how the different entities relate in Nexudus.