Skip to content

Commit 00717b3

Browse files
authored
Connecting OpenOps to External Analytics Tools (DOC-94, DOC-96, DOC-97) (#242)
1 parent f5f8f7a commit 00717b3

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-1
lines changed

docs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
"group": "Reporting and Analytics",
7575
"pages": [
7676
"reporting-analytics/tables",
77-
"reporting-analytics/analytics"
77+
"reporting-analytics/analytics",
78+
"reporting-analytics/connecting-to-external-tools"
7879
]
7980
},
8081
{
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: 'Connecting OpenOps to External Analytics Tools'
3+
description: 'How to feed data from OpenOps to your existing analytics tools'
4+
icon: 'chart-area'
5+
---
6+
7+
Many organizations use centralized BI/analytics systems and may want to include data generated by OpenOps in their existing dashboards.
8+
9+
OpenOps stores analytics data in a PostgreSQL database. External analytics tools, such as [AWS Quick Sight](#connecting-aws-quick-sight-to-openops), [Microsoft Power BI](#connecting-microsoft-power-bi-to-openops), or [Google Looker](#connecting-google-looker-to-openops), can connect to this database. Once connected, they can query the same tables and views that power [OpenOps tables](/reporting-analytics/tables), including the *Opportunity* table.
10+
11+
Connecting any external analytics tool to OpenOps consists of two parts.
12+
13+
First, you need to **prepare OpenOps to accept external connections**. This usually means:
14+
* Ensuring the OpenOps PostgreSQL container is reachable from the analytics tool.
15+
* Allowing incoming connections on the PostgreSQL port (`5432`) through your cloud provider’s networking layer (security groups, VPC firewall rules, etc.).
16+
* Optionally configuring a read-only database user for analytics.
17+
18+
Depending on your environment, connectivity may be provided through private VPC networking, VPN, or site-to-site tunnels.
19+
20+
Second, you need to **configure your external analytics tool to connect to PostgreSQL**. This usually involves configuring the OpenOps installation's host and port, database name, authentication method, and selecting the tables or views to visualize. PostgreSQL views corresponding to OpenOps tables follow the naming pattern _table name \_ table id \_ userfriendly_. These are the views that you want to use when setting up connections in external analytics tools.
21+
22+
23+
A specific configuration will vary depending on the analytics tool. See the sections below detailing how to connect to OpenOps from several popular analytics products.
24+
25+
## Connecting AWS Quick Sight to OpenOps
26+
27+
AWS Quick Sight is a fully managed SaaS analytics service. To connect Quick Sight to OpenOps, you must make the OpenOps PostgreSQL database reachable from your AWS account.
28+
29+
Available networking options include:
30+
* [AWS Site-to-Site VPN](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) to your data center or VPC.
31+
* [AWS Direct Connect](https://aws.amazon.com/directconnect/).
32+
* [VPC peering](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) if OpenOps runs inside AWS.
33+
* [AWS PrivateLink](https://aws.amazon.com/privatelink/) if exposing PostgreSQL through a private endpoint.
34+
35+
Once network access is available, you can configure Quick Sight to use the OpenOps PostgreSQL database as a data source.
36+
37+
See also:
38+
* [Creating a data source](https://docs.aws.amazon.com/quicksuite/latest/userguide/create-a-data-source.html)
39+
* [Configuring VPC connections in Amazon Quick Sight](https://docs.aws.amazon.com/quicksuite/latest/userguide/working-with-aws-vpc.html)
40+
41+
## Connecting Microsoft Power BI to OpenOps
42+
43+
Power BI has two ways to reach on-premises or private-network databases.
44+
45+
If you're using the self-hosted **Power BI Report Server**, it can connect directly to PostgreSQL inside the same LAN/VPC as OpenOps.
46+
47+
If you're using **Power BI Service** SaaS, it cannot directly reach internal databases. Instead, you need to use the [Microsoft On-Premises Data Gateway](https://learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem), which should be installed on any machine that can access the OpenOps PostgreSQL port. This gateway acts as a secure bridge between Power BI's cloud service and the local PostgreSQL database.
48+
49+
After connectivity is configured, you create a PostgreSQL data source in Power BI (via the gateway or locally) and select the relevant OpenOps tables.
50+
51+
## Connecting Google Looker to OpenOps
52+
53+
Looker is available as both a fully managed SaaS product and a self-hosted deployment.
54+
55+
Self-hosted Looker can run inside your LAN or VPC and connect directly to your OpenOps PostgreSQL database.
56+
57+
For Looker SaaS to reach a private PostgreSQL instance, you typically use one of the following:
58+
* Whitelisting Looker's outbound IPs and exposing PostgreSQL securely to the internet (TLS, firewall restrictions).
59+
* SSH tunneling, where Looker connects through a bastion host that you manage to the PostgreSQL database.
60+
* Private connectivity in your GCP environment, if OpenOps runs in GCP. Looker can integrate with databases inside your VPC through Google-managed networking.
61+
62+
See also:
63+
* [Enabling secure database access](https://docs.cloud.google.com/looker/docs/enabling-secure-db-access)

0 commit comments

Comments
 (0)