{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["availability","callout","img","partial","faq","faq-item"]},"type":"markdown","userRole":"Users, Editors, and Admins","accountType":"All accounts","plan":"Exclusive to select subscription plans"},"seo":{"title":"Integrate PostgreSQL with Databox","description":"Connect your PostgreSQL database to Databox to query, filter, and visualize your data alongside metrics from your other tools.","siteUrl":"https://help.databox.com","llmstxt":{"title":"Databox Knowledge Base","description":"Databox is a business analytics platform that consolidates data in one place, enabling real-time performance tracking and insights by mixing and matching data from various sources for a comprehensive view.","details":{"content":"This knowledge base covers everything from account setup and integrations to building Databoards, creating custom metrics, and using AI-powered features."},"sections":[{"title":"General","includeFiles":["docs/general/*.md","docs/general/visualization-types/*.md","docs/general/templates/*.md"],"excludeFiles":[]},{"title":"AI","includeFiles":["docs/ai/*.md"],"excludeFiles":[]},{"title":"Account Management","includeFiles":["docs/account-management/**/*.md"],"excludeFiles":[]},{"title":"Databoards","includeFiles":["docs/databoards/**/*.md"],"excludeFiles":[]},{"title":"Data Management","includeFiles":["docs/data-management/**/*.md"],"excludeFiles":[]},{"title":"Metrics","includeFiles":["docs/metrics/**/*.md"],"excludeFiles":[]},{"title":"Forecasts","includeFiles":["docs/forecasts/*.md"],"excludeFiles":[]},{"title":"Goals","includeFiles":["docs/goals/*.md"],"excludeFiles":[]},{"title":"Reports","includeFiles":["docs/reports/*.md"],"excludeFiles":[]},{"title":"Notifications","includeFiles":["docs/notifications/*.md"],"excludeFiles":[]},{"title":"Pricing and Billing","includeFiles":["docs/pricing-and-billing/*.md"],"excludeFiles":[]},{"title":"Mobile","includeFiles":["docs/mobile/*.md"],"excludeFiles":[]},{"title":"Support","includeFiles":["docs/support/*.md"],"excludeFiles":[]},{"title":"Integrations","includeFiles":["docs/integrations/**/*.md"],"excludeFiles":[]}],"hide":false,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"integrate-postgresql-with-databox","__idx":0},"children":["Integrate PostgreSQL with Databox"]},{"$$mdtype":"Tag","name":"Availability","attributes":{"users":"users","accounts":"all","plans":"exclusive"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["PostgreSQL is a powerful open-source relational database management system (RDBMS) known for its standards compliance, extensibility, and support for advanced data types. It is widely used across web applications, analytics pipelines, and enterprise systems, and is available as a managed service through providers such as Amazon RDS, Google Cloud SQL, Azure Database for PostgreSQL, Supabase, and Neon. Connecting PostgreSQL to Databox lets you pull data directly from your database, build custom metrics using SQL queries, and visualize business-critical figures alongside data from your other connected tools."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"connection","__idx":1},"children":["Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you've already established a connection, you can ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/add-a-data-source"},"children":["reuse"]}," it to add new data sources to your Databox account."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-1-create-a-read-only-postgresql-role-for-databox","__idx":2},"children":["Step 1: Create a read-only PostgreSQL role for Databox"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Databox only reads data from your database — it never writes to it. Create a dedicated PostgreSQL role with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SELECT"]},"-only privileges on the schemas and tables you want to expose."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"CREATE ROLE databox WITH LOGIN PASSWORD 'your_secure_password';\nGRANT CONNECT ON DATABASE your_database TO databox;\nGRANT USAGE ON SCHEMA public TO databox;\nGRANT SELECT ON ALL TABLES IN SCHEMA public TO databox;\nALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO databox;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Replace ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["your_database"]}," with the name of the database you want to connect, and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["your_secure_password"]}," with a strong password. If you need to expose tables in additional schemas, repeat the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GRANT USAGE"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GRANT SELECT"]}," statements for each schema."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"Callout","attributes":{"type":"note"},"children":["Avoid the following special characters in your PostgreSQL password, as they can cause encoding issues when establishing the connection: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["`"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\""]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\\"]},", and spaces."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-2-configure-postgresql-to-accept-remote-connections","__idx":3},"children":["Step 2: Configure PostgreSQL to accept remote connections"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["By default, PostgreSQL listens only on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["localhost"]}," and does not accept external connections. Enabling remote access requires changes to two configuration files."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["postgresql.conf"]}," — update the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["listen_addresses"]}," setting to allow connections on non-localhost interfaces:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open your PostgreSQL configuration file. The path depends on your version and distribution:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/etc/postgresql/{version}/main/postgresql.conf"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Locate the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["listen_addresses"]}," directive and set it to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]}," (all interfaces) or your server's public IP:",{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ini","header":{"controls":{"copy":{}}},"source":"listen_addresses = '*'\n","lang":"ini"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Save the file."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["pg_hba.conf"]}," — add a host-based authentication rule to allow the Databox IP address to connect:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open your client authentication configuration file:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/etc/postgresql/{version}/main/pg_hba.conf"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add the following line, which permits the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["databox"]}," role to connect to all databases from the Databox IP address using password authentication:",{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"host  all  databox  52.4.198.118/32  scram-sha-256\n"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Save the file and restart PostgreSQL to apply both changes:",{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"sudo systemctl restart postgresql\n","lang":"bash"},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"Callout","attributes":{"type":"note"},"children":["If you are using a managed PostgreSQL service (such as Amazon RDS for PostgreSQL, Google Cloud SQL for PostgreSQL, Azure Database for PostgreSQL, Supabase, or Neon), remote connectivity is typically enabled through the service's console or network settings rather than by editing configuration files."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-3-whitelist-the-databox-ip-address","__idx":4},"children":["Step 3: Whitelist the Databox IP address"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Open port ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5432/TCP"]}," for inbound connections from the Databox IP address ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118"]}," on your server's firewall or network security rules. The exact steps depend on your infrastructure:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Linux (iptables):"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["iptables -A INPUT -s 52.4.198.118/32 -p tcp --dport 5432 -j ACCEPT"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AWS RDS:"]}," In the AWS Console, add an inbound rule to your database's security group allowing TCP on port 5432 from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118/32"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Other managed services:"]}," Add ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118"]}," to your database's IP allowlist in the service's network access settings."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-4-enter-your-postgresql-connection-details-in-databox","__idx":5},"children":["Step 4: Enter your PostgreSQL connection details in Databox"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In Databox, go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Sources > + New connection"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Search for ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["PostgreSQL"]}," and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Fill in the connection form:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data source name"]}," — a label for this connection in Databox."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Host"]}," — the hostname or IP address of your PostgreSQL server."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Port"]}," — the port PostgreSQL listens on. The default is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5432"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["User"]}," — the PostgreSQL role name created in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#step-1-create-a-read-only-postgresql-role-for-databox"},"children":["Step 1"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Password"]}," — the password for that role."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Database name"]}," (optional) — the specific database to connect to. Leave blank to connect at the server level."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timezone"]}," — the time zone used to interpret date values in query results. Defaults to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Etc/UTC"]},"."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Toggle ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use SSL/TLS"]}," to enable encrypted connections."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect"]},"."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/integrate-postgresql-with-databox_1.cf46f1a54989a1e6dbc7a3a6f986087d2ffc3d3db8f752f21149d551e67baa23.4783b0ec.png","alt":"connect","withLightbox":true,"className":"ss-img"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"datasets","__idx":6},"children":["Datasets"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The PostgreSQL integration supports the creation of ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/understanding-datasets"},"children":["datasets"]},", which allow you to define and shape the specific data you want to use for reporting in Databox. Datasets make it easier to focus on the most relevant information, enabling you to filter, visualize, and analyze metrics across projects, teams, and clients without writing complex queries each time."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"steps-to-create-a-dataset","__idx":7},"children":["Steps to create a dataset:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select a table"]},": Pick the appropriate schema within that database."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select columns"]},": Browse and select the specific columns (fields) from your tables or views to include in your dataset. These columns define the structure and content of your dataset."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"optional-write-sql","__idx":8},"children":["Optional: Write SQL"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For more advanced use cases, you can write a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["custom SQL query"]}," instead of selecting columns manually. This allows you to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Join multiple tables"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Apply filters and aggregations"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Format or transform data before importing it into Databox"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your query must return a valid tabular result to be used as a dataset."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"additional-resources","__idx":9},"children":["Additional resources"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.postgresql.org/docs/"},"children":["PostgreSQL Documentation"]}," — Official PostgreSQL documentation hub covering installation, SQL syntax, server administration, security, replication, and release notes for all supported versions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.postgresql.org/docs/current/"},"children":["PostgreSQL Current Version Reference"]}," — Complete reference for the current PostgreSQL release, including SQL commands, data types, functions, role management, and server configuration."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"resources","__idx":10},"children":["Resources"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For comprehensive details on metrics, data availability, templates, specifications, usage guidelines, and other key information, refer to the resources listed below."]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":4,"cardMinWidth":240},"children":[{"$$mdtype":"Tag","name":"IntegrationResources","attributes":{"integrationKey":"postgresql","hideMetrics":true},"children":[]}]},{"$$mdtype":"Tag","name":"Faq","attributes":{},"children":[{"$$mdtype":"Tag","name":"FaqItem","attributes":{"question":"Can I connect a managed PostgreSQL service like Amazon RDS or Supabase?"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Yes. Managed PostgreSQL services are supported. Make sure the database is publicly accessible and that the Databox IP address (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118"]},") is added to the service's inbound security rules or IP allowlist. For Amazon RDS for PostgreSQL, refer to the AWS documentation for configuring VPC security groups and SSL. For Supabase and Neon, enable external connectivity in the project settings and add ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118"]}," to the IP allowlist."]}]},{"$$mdtype":"Tag","name":"FaqItem","attributes":{"question":"What should I do if Databox cannot connect to my PostgreSQL server?"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check the following in order:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["listen_addresses"]}," setting in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["postgresql.conf"]}," is set to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]}," or includes your server's public IP"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A matching rule exists in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pg_hba.conf"]}," for the Databox IP address (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118"]},") and the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["databox"]}," role"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Your firewall permits inbound TCP traffic on port ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5432"]}," from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["PostgreSQL was restarted after any configuration file changes"]}]}]},{"$$mdtype":"Tag","name":"FaqItem","attributes":{"question":"Why do I need to edit both postgresql.conf and pg_hba.conf?"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["postgresql.conf"]}," controls which network interfaces PostgreSQL listens on — without updating ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["listen_addresses"]},", the server will not accept any external TCP connections regardless of firewall rules. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pg_hba.conf"]}," is a separate client authentication file that controls which hosts and roles are permitted to connect once a network connection is established. Both files must be configured correctly for Databox to reach your database."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[" "]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":4,"cardMinWidth":160},"children":[{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Ask Genie","icon":"genie","to":"https://app.databox.com/genie","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get instant answers or help with your data using the in-app AI assistant."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Talk to an expert","icon":"assistance","to":"https://meetings.hubspot.com/databox-meeting/account-management","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For customers: Get help with your setup, strategy, or making the most of Databox."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Book a demo","icon":"eye-open","to":"https://meetings.hubspot.com/databox-meeting/ref-knowledge-base","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["New to Databox? See how it works and get guidance on getting started."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Send an email","icon":"help","to":"mailto:help@databox.com","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Reach out to support for help with your account, data, or technical issues."]}]}]}]},"headings":[{"value":"Integrate PostgreSQL with Databox","id":"integrate-postgresql-with-databox","depth":1},{"value":"Connection","id":"connection","depth":2},{"value":"Step 1: Create a read-only PostgreSQL role for Databox","id":"step-1-create-a-read-only-postgresql-role-for-databox","depth":3},{"value":"Step 2: Configure PostgreSQL to accept remote connections","id":"step-2-configure-postgresql-to-accept-remote-connections","depth":3},{"value":"Step 3: Whitelist the Databox IP address","id":"step-3-whitelist-the-databox-ip-address","depth":3},{"value":"Step 4: Enter your PostgreSQL connection details in Databox","id":"step-4-enter-your-postgresql-connection-details-in-databox","depth":3},{"value":"Datasets","id":"datasets","depth":2},{"value":"Steps to create a dataset:","id":"steps-to-create-a-dataset","depth":3},{"value":"Optional: Write SQL","id":"optional-write-sql","depth":3},{"value":"Additional resources","id":"additional-resources","depth":3},{"value":"Resources","id":"resources","depth":2}],"frontmatter":{"slug":"integrate-postgresql-with-databox","seo":{"title":"Integrate PostgreSQL with Databox","description":"Connect your PostgreSQL database to Databox to query, filter, and visualize your data alongside metrics from your other tools."},"keywords":{"includes":["PostgreSQL integration","connect PostgreSQL to Databox","PostgreSQL dataset","PostgreSQL custom SQL query","PostgreSQL read-only role","PostgreSQL remote connection","whitelist Databox IP PostgreSQL","PostgreSQL SSL TLS","PostgreSQL cannot connect","PostgreSQL listen_addresses","PostgreSQL port 5432"]},"metadata":{"userRole":"Users, Editors, and Admins","accountType":"All accounts","plan":"Exclusive to select subscription plans"}},"lastModified":"2026-04-17T19:27:17.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/integrate-postgresql-with-databox","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}