Working with Google BigQuery

Link copied to clipboard

After you start a trial or paid subscription and define the module’s configuration options, the PortaOne team starts deploying a new project in Google BigQuery and copying your PortaBilling database. This process takes time to complete.

Once the setup is ready, PortaOne grants access to your Google Group email address, so every member of the group can log in to the Google BigQuery project and work with the datasets.

Upon logging in, navigate to the Studio section of Google BigQuery. In Studio, open the tree under your project name (for example, porta-prospects-demo-env) and select warehouse. This section contains all BigQuery tables with the data, copied and transformed from your PortaBilling database.

Google BigQuery datasets.

Generate a report using SQL in Google BigQuery

Link copied to clipboard

To generate a report with an SQL query in your Google BigQuery:

  1. Click SQL query on the Welcome tab.

    Create a new report by SQL query.

  2. In a newly opened tab, write your SQL query and click Run.

    Run a new report by SQL query.

  3. Click Save results to save the generated data using your preferred method.

    Save report generated by SQL query.

    Save options for report generated by SQL query.

Generate a report using the built-in AI agent, Gemini

Link copied to clipboard

To generate a report using Gemini:

  1. Click SQL query on the Welcome tab.

    Create a new report by SQL query.

  2. In a newly opened tab, click generate SQL with Gemini.

    Create a new report by AI prompt.

  3. Enter your request in plain language and click Generate.

    Generate a new report by AI prompt.

  4. Click Edit to modify your request or Refine to adjust the generated SQL query. Click Insert to proceed.

    Refine SQL query for a report.

  5. Click Run to generate the report.

    Run a new report by AI prompt.

  6. Click Save results to save the generated data using your preferred method, e.g., csv.

    Save report generated by AI prompt.

    Save options for report generated by AI prompt.

Connect to Google BigQuery using external AI or BI tools

Link copied to clipboard

To generate a report, you can connect your preferred external AI or BI tools (refer to their official documentation for setup instructions, or contact the PortaOne team for assistance).

For example, to integrate Claude, you need to install the Google CLI utility and deploy the BigQuery MCP server. Then add this MCP server to your Claude configuration. Detailed instructions are available here.

Some tools require assistance from the PortaOne team. For Google Looker and Power BI, you must first obtain a Service Account JSON key file from PortaOne, then follow the official Looker or Power BI setup guide.

On this page

×
Docs for
What's new
Admin manuals
Handbooks
UI help
Developers documentation