Skip to content

Connect a source

This page is for Portward on the web. Portward’s engine reads your source over the internet, with a login you make for it that can only read. For files and databases that only your computer reaches, use Portward on your computer.

Each source open today has its own page, with the login to make and what Portward reads:

Portward connects databases, warehouses, file stores and business tools with the same rules. The other kinds are built and not open yet. Sources coming next lists them. Each opens once it passes Portward’s live checks on a real account, and its page appears here that day, not before.

You need three things:

  • An address the internet can reach. Portward refuses a private address. See Why private addresses are refused and If your database is behind a firewall.
  • A login that can only read. This is the control that matters most. If the login can’t write, no query can change anything. Portward refuses an administrator login, and warns about one that can write some tables. Your source’s page has a script to copy.
  • A name for the connection, such as shop. Claude sees this name, and so do your receipts.

This is the main route. Ask Claude:

Connect my database.

A Portward form opens in the chat. It has four steps.

Choose the kind of source and continue. Enter a name for the connection, the host, the port, the database name, the login and its password. Leave the port empty to use the source’s usual one. If you told Claude the host or the database name, the form has them filled in already.

If you have a connection string, paste it into the form. The form fills itself in from it, and a password in it moves to the password box.

Type or paste the password in the form only. It is sealed in the form before it leaves and opened only on your engine, so Claude never sees it. If a password reaches a chat message, Portward uses nothing of that message. Change that password at the source, because it has been in the chat, then paste the connection string into the form instead.

If a colleague holds the login, select Share. The form shows a one-time setup link to send them. See A setup link.

Select Check the login. Nothing is saved yet.

Portward connects once and runs four checks, in this order:

CheckWhat it means
ReachableThe source answers from the internet, over an encrypted connection.
Login worksThe login, the password and the database name are right.
Read-onlyThe login isn’t an administrator. A login that can write some tables passes with a warning.
Tables foundThe login can read at least one table.

If one fails, the form says Not connected yet, names the check, and gives its cause and a fix. The checks after it are not run. Your details stay in the form, and nothing is saved. Select Edit the details, or fix the source and select Check again. Troubleshooting lists every cause and fix.

The form lists every table and column the login can read. Columns whose names look personal are marked “looks personal” as a suggestion, unticked: a name can mislead in both directions, so Portward never decides for you. Tick the columns Claude must never get and select Keep these back, or select Send real values to keep none back.

To help you judge, the form shows one or two sample values beside a column. Portward reads the first 5 rows of a table for this, once the checks have passed. The samples are shown in the form only. For a column that looks personal, or that is already kept, the engine masks the values before they leave it, so the real ones are never sent. Nothing sampled is stored.

If the login can change data, this step says so. Portward still runs only read-only queries, but a login that can only read is safer.

Select Keep these back or Send real values. Until you do, nothing is saved and nothing is sent to Claude.

The form shows each table with its kept columns marked, and a few first questions. Select one, or type your own.

  • The form works for 30 minutes after it opens. After that it says “This form has expired. Ask Claude to connect a source again.”
  • A check that passed waits 10 minutes for you to save. After that, type the password and check again.
  • Each engine runs at most 30 checks an hour. Past that, the form says “Too many checks in the last hour; try again later”.

The form in the chat can only add a connection. It can’t change or remove one, and it can’t reuse the name of a connection you already have. For those, use the web page, signed in.

Use this route when your AI app can’t show the form, when you prefer a page, or when a colleague holds the login.

Open signup.portward.ai/me/engine/setup and sign in with the same account. This gives the whole page: connecting, Your connections, and What Claude saw.

The page has the same four steps as the form in the chat, and the same buttons: Check the login, then Save and connect. The last step links to Change what’s kept, What Claude saw and Your connections.

A setup page stops working after one hour, or when your engine restarts. It then says “This page has expired”. Nothing was checked or saved. Open the setup page again.

A setup link hands the setup to someone else, or opens the page without the form. Get one from Share in the form, or ask Claude for a setup link.

  • It works once and lasts 15 minutes.
  • It opens a page that names your account, with one button, Open the setup page.
  • Whoever opens it can add a connection and nothing else. They can’t see or change what is already connected.
  • Each engine issues at most 10 links an hour.

Portward on the web refuses a host that is, or points to, a private, loopback, link-local or cloud metadata address. Examples are localhost, 192.168.x.x, 10.x.x.x and a cloud’s internal address. On Portward’s servers those addresses belong to Portward, not to you, so the engine never connects to them.

For a source only your computer or your office network can reach, use Portward on your computer instead.

Many managed databases accept connections only from addresses you list. Portward on the web has no fixed address today, so there is no single address to put on that list.

That leaves three choices:

  1. Let the database accept connections from any address, and rely on the encrypted connection and a strong password on a login that can only read. Decide whether that is acceptable for this database. For many it isn’t.
  2. Use Portward on your computer, which connects from your own machine.
  3. Wait. A fixed address for Portward on the web is not built yet.

If the firewall is the problem, the Reachable check fails with “didn’t answer”.

Portward connects over TLS and checks the server’s certificate against its host name. Use the host name your provider gives in its connection details. A server that offers no encrypted connection is refused.

Free on the web has one connection. To connect a different source on Free, open the setup page from your Portward account, tick Replace with the name of the one you have, and fill in the new one. The old connection is removed when you save the new one, and not before. See Plans and limits.

On the web page, open Your connections. It lists every connection your engine holds.

  • To change what Claude gets, open the connection. See Choose what Claude sees.
  • To change the password or the host, set up the same name again on the web page, signed in. What you keep from Claude stays.
  • To remove one, select Disconnect under it and type its name to confirm. Your engine forgets the connection and its login. What you kept from Claude stays, in case you connect the same source again.