Managed Postgres

Your IBM Cloud Databases for PostgreSQL data, where work happens.

IBM Cloud Databases for PostgreSQL. The port is assigned per deployment, so copy it from the Endpoints panel.

Use the results in Excel, Google Sheets, AI tools and your apps through the Database REST API.

Every connector type is on Free. Start with 2 data sources and 1 agent.

IBM Cloud Databases for PostgreSQLYour existing database connection
Inside your networkQuery Streams Network Agent

Run read-only queries inside your network.

Read-only queries · outbound connection

Source credentials stay on the agent. Your tools receive query results.

Source → agent → allowed results

Query Streams reads IBM Cloud Databases for PostgreSQL from Microsoft Excel, Google Sheets, Power BI, AI assistants over MCP and a REST endpoint through one read-only connection. IBM does two things differently from most managed Postgres services: it assigns each deployment its own port rather than using 5432, and it fronts the database with a certificate from IBM's own authority. Both are handled here, and both are worth knowing about before you connect rather than after a test fails.

  • Port is assigned per deployment
  • Encrypted; IBM's CA is not verified
  • Ordinary Postgres, no pooler

Connect IBM Cloud with the right settings.

Keep the connection on the Network Agent. These are the details specific to IBM Cloud.

Host
<id>.databases.appdomain.cloud, from the service's Endpoints panel
Port
Assigned per deployment, often in the 30000s. Not 5432, and not prefilled
Driver
Npgsql, carried by the agent — nothing to install at the IBM Cloud end
Paste format
The PostgreSQL connection string from Endpoints, as a postgres:// URI
TLS
Required and enforced for IBM Cloud hostnames. Encrypted; IBM's certificate authority is not verified and no custom CA can be supplied
Pooling
None. The agent applies no pooler adaptations for IBM Cloud
Defaults
Database ibmclouddb and user admin are prefilled, matching what IBM creates
Saved as
PostgreSQL, with IBM Cloud kept as a badge
Default schema
public, which is what a federated reference carries

The empty port field is a small design decision worth explaining, because it looks like an omission. Presets exist to prefill the things a provider always does the same way, and IBM's port is precisely not one of those. Filling in a plausible default would produce a connection that passes validation and then fails to connect, which is a worse outcome than an empty field that asks you a question.

On the certificate point: the useful distinction is between encryption and identity. The traffic between the agent and your IBM deployment is encrypted and cannot be read in transit. What the agent does not do is confirm, against IBM's certificate authority, that the server presenting that certificate is the one you meant. For most reporting workloads over a private endpoint that distinction is academic; if it is not academic for you, it is better read here than discovered in an audit.

For a cross-source query IBM Cloud is ordinary Postgres. A connection you called ibm_prod is written ibm_prod.public.orders, and it joins to a folder of CSVs, an on-premises system of record or a billing API in one read-only statement — with nothing copied and nothing scheduled.

Provider reference: www.ibm.com

Built for how IBM Cloud works.

The port is per deployment, and the card deliberately leaves it blank

Nearly every other Postgres card here prefills 5432 because nearly every other service uses it. This one does not, and the empty field is the point.

  • IBM allocates a port to each deployment rather than running everything on the standard one. Two databases in the same account will not share a port.
  • So the field starts empty and the card asks for it explicitly. A prefilled 5432 would be wrong far more often than right, and wrong in a way that looks like a network problem rather than a typo.
  • Take the port from the same Endpoints panel as the hostname. It is in the connection string IBM gives you, immediately after the host.
  • If a saved connection times out rather than being refused, the port is the first thing to re-check against the dashboard.

IBM issues its own certificate authority, and what the agent does about it

This is the honest bit, and it is more specific than the usual TLS paragraph.

  • The connection is encrypted, and the agent forces it. TLS is required for IBM Cloud hostnames whether or not the SSL checkbox is ticked.
  • The certificate chain is not verified. IBM fronts deployments with a certificate from its own authority, and the agent has no way to be given that authority's certificate to check against.
  • IBM's own connection string usually carries sslmode=verify-full. That parameter is not read — the agent takes the host, port, database, username and password out of the string and applies its own TLS setting, which requires encryption without validating the chain.
  • Read it as protection against anyone reading the traffic in transit, not as proof of which server answered. If chain verification against IBM's CA matters for your compliance position, this is the detail to note.
-- Ordinary Postgres, read-only, over TLS
SELECT   c.name,
         COUNT(o.id)   AS orders,
         SUM(o.amount) AS revenue
FROM     public.customers AS c
JOIN     public.orders    AS o ON o.customer_id = c.id
WHERE    o.placed_at >= now() - interval '30 days'
GROUP BY c.name
ORDER BY revenue DESC;

From connection to useful results.

  1. Install the Network Agent on a machine that can reach the deployment — your own network for a private endpoint, anywhere for a public one. It opens one outbound connection and never listens.
  2. In IBM Cloud open the service, then Endpoints, and choose the Public or Private tab to match how the agent will reach it.
  3. Copy the PostgreSQL connection string and paste it into the first field. Host, port, database, username and password are read out of it.
  4. Check the port. IBM assigns one per deployment — often in the 30000s — and this is the field to confirm rather than assume, because 5432 is almost certainly wrong here.
  5. Leave Use SSL on, run the test, and save. Read it from Microsoft Excel, Google Sheets, Power BI, MCP or REST through that one connection.

Put your IBM Cloud results to work.

One connection serves your spreadsheets, apps and AI tools. Share permission to run a saved query; recipients see the allowed results, with the SQL and source login hidden.

For your team, vendors and partners

Ask a question in plain English. Nova already knows your IBM Cloud tables, writes and runs the SQL, explains the answer and charts it — no query to write, no credentials to hand over.

How Nova works

Share a live IBM Cloud result with anyone — a colleague, a vendor, a partner — as a bookmarkable grid that re-runs fresh when opened, on a phone, a tablet or a desktop. They see the results, never the SQL or the credentials.

How the Data Viewer works

For apps and systems

Publish an IBM Cloud query as an authenticated JSON endpoint any application can call, with an OpenAPI 3.1 spec and ready-made Postman, Insomnia and Hoppscotch collections. No database port is opened.

PostgreSQL guide

Paste the generated Power Query M into the Power BI Advanced Editor and the report reads live IBM Cloud results over HTTPS — no ODBC driver, no database port opened.

Explore Power BI

For AI tools

Delivered to people

Join IBM Cloud to the rest of your data.

Bring databases, business APIs, files and logs into one read-only query. Every connector supports Federated Queries.

Name the connections and tables. Query Streams handles the source queries and combines the results.

Explore Federated Queries
Illustrative cross-source query
-- nothing copied, nothing merged, nothing scheduled
SELECT   c.region, COUNT(*) AS orders, SUM(i.amount_due) AS invoiced
FROM     ibm_prod.public.orders1  f
JOIN     erp_sql.dbo.customers2   c ON c.id = f.customer_id
JOIN     billing.stripe.invoices3 i ON i.customer = c.stripe_id
GROUP BY c.region
ORDER BY invoiced DESC;

Use your own connection, schema, table and column names.

Shared across the connector family.

True of every database connector

  • Outbound only — the agent opens one encrypted connection out to Query Streams. No inbound port to forward, no VPN, no IP allowlist, nothing about your database exposed to the internet.
  • Credentials stay put — the database username and password live on the machine you installed the agent on. Query Streams never receives them and cannot reach your database on its own.
  • Read-only, enforced — one statement at a time, SELECT and friends only. A write is rejected on your own machine before it is ever sent to the server, rather than relying on a permission somebody remembered to set.
  • Deploy as many agents as you like — one per site, region or cloud. Every data source they can see arrives in a single dropdown, so nobody has to know which agent hosts what.

What you get once a query is saved

  • Share the capability, not the SQL — a colleague or an outside partner can run your query and change its filters without ever seeing the statement behind it.
  • Filters from either direction — declare them yourself as @variables, or let the connector spot the literal values already sitting in your WHERE clause and offer those as dropdowns.
  • Read it from anywhere — Microsoft Excel, Google Sheets, Power BI, the REST API, AI assistants over MCP, the Query Builder and Nova all read the same saved query.
  • Run several at once — five saved queries into five worksheet tabs, streamed concurrently, however large the results.
  • Join it to anything else you have connected — another database, a business API, or a folder of files, in one read-only statement.

Questions about IBM Cloud Databases for PostgreSQL

Where can I use IBM Cloud Databases for PostgreSQL query results?

Use IBM Cloud Databases for PostgreSQL results in Excel, Google Sheets, the Data Viewer, your apps through the Database REST API, and AI tools through MCP or Nova. Saved results also feed supported Automation destinations, reports and alerts. Destination availability and allowances depend on your plan.

Do I need to open an inbound port for IBM Cloud Databases for PostgreSQL?

No. Install the Network Agent on a machine that can reach IBM Cloud Databases for PostgreSQL. The agent connects outward to Query Streams; no inbound port or VPN is needed. Your source must still allow the agent machine to connect under its own access rules.

Can Query Streams change data in IBM Cloud Databases for PostgreSQL?

No. Queries are enforced read-only on the Network Agent before execution. Source credentials stay on that machine. Sharing grants permission to run a saved query and receive its results; it does not reveal the SQL or database login.

What do I need to connect IBM Cloud Databases for PostgreSQL?

Host: <id>.databases.appdomain.cloud, from the service's Endpoints panel. Port: Assigned per deployment, often in the 30000s. Not 5432, and not prefilled. Driver: Npgsql, carried by the agent — nothing to install at the IBM Cloud end. Paste format: The PostgreSQL connection string from Endpoints, as a postgres:// URI

Can I join IBM Cloud Databases for PostgreSQL to other connected sources?

Yes. Federated Queries support every connector type, including databases, business APIs, files and logs. Name the connections and tables in one read-only query. Query Streams translates the source portions as needed and combines their results. See how Federated Queries work.

Does IBM Cloud Databases for PostgreSQL use the PostgreSQL connector?

Yes. IBM Cloud Databases for PostgreSQL uses the PostgreSQL wire protocol. Its provider preset supplies the relevant connection settings. The linked PostgreSQL guides apply to the shared workflow; use the provider-specific connection details on this page for your endpoint and security requirements.

Put IBM Cloud where the work happens.

Start with Free: every connector type, 2 data sources and 1 Network Agent. Add plan allowances as your needs grow.