Connecting an Integration
Let’s start by setting up the integration. Integrations live at the root level of Slai, which makes them accessible from any sandbox in your account. To create an integration, click the Integrations tab on the sidebar on your dashboard.


Creating a query in your sandbox
To access your BigQuery database in your project, you must add the integration in the sandbox. In the left-hand side of the sandbox, click the + button and select Import from Integration.



Using the query data in the sandbox
After the query is attached to your sandbox, it will be stored as a file namedresults.csv
that can be accessed like a regular file in your code.
The general file path will look something like ./integrations/bigquery/[query_name]/results.csv
.
Alternatively, you can copy the path to your clipboard by right-clicking the query and clicking Copy Path
.
