Skip to content

What people and the AI see (Enterprise)

Enterprise only. This page is about the Portward gateway that a company runs in its own cloud. If Portward runs it for you, on the web, this page doesn’t apply: see the page for Portward on the web.

Each column in an exposed dataset has two settings. One sets what the AI sees. The other sets what people see in their own results table. The AI only ever gets what you allow. People see real values in the results table that opens above the AI’s answer. Those values go straight from your gateway to their browser, never through the AI.

Every column starts as Real value. Setup and the console mark columns that look personal, by name or by sampled values, with “Suggested: token” and a token type. A suggestion is only a hint. Nothing becomes a token until you choose it and save.

Setting (console)In the setup widgetWhat leaves the gateway for the AI
TokenTokenA stand-in such as EMAIL_1a2b3c4d5e6f7a8b, never the value. The AI can still filter, count, group and join on it.
Totals onlyTotals and averages onlyOnly SUM, AVG or COUNT of the column, over groups of at least 5 rows. The AI never reads one row.
Real valueReal valueThe value itself.

A token is the column’s token type followed by 16 characters. The same value always gets the same token, in every source, so EMAIL_... for one address matches across your CRM and your shop database. Setup suggests the types EMAIL, PHONE, NAME, ADDRESS, DOB, GOVID, ACCOUNT and IP. With no suggestion, it offers the column’s name in capitals. You can type your own, using capital letters, digits and underscores.

If you change the token type of a column that is already a token, its tokens change from then on. Answers given before the change keep the old tokens, which won’t match the new ones. For that reason, Portward asks you to confirm each such change (“Change token types?”).

Tokenize every column that identifies the same person or company. A real email next to a tokenized customer name still identifies the customer.

With Totals only, the AI may use the column only as SUM(column), AVG(column) or COUNT(column) in one plain SELECT. The gateway leaves out groups that cover fewer rows than the smallest group size, and tells the AI it did. The smallest group size is 5 unless your config file sets min_group_size under [gateway], which must be at least 2. The console shows it under Settings, Gateway, Smallest group for totals.

Someone can still subtract one total from another to work out a value. For example, a team’s total with and without one person gives that person’s salary. Use Token for anything that must never be inferred.

For a Real value or Totals only column, people see the same as the AI (“Same as the AI”). For a Token column, you choose what people see in their results table:

SettingIn the person’s results table
Real valueThe value. Shown only to them, never sent to the AI.
MaskedDots. For values longer than 8 characters, the last 4 show.
Click to showDots and a button. Each click is recorded in the reveal log.
HiddenThe word Hidden.

People can also type a name or email into Find in their results to keep only the matching rows. The AI never sees what they typed. The gateway records each row Find matches.

Send to AI lets people send the real values of that token column from one answer to the AI. In the setup widget, the setting is People may send to Claude or ChatGPT. Their results table then shows Send real values to Claude (or ChatGPT). Only the columns you allow are sent, and the rest stay tokens. The gateway records each send. The setting can’t be on for a Hidden column, and turning it on gives more access.

A tokenized column can show more to some groups than to everyone else. For example, salary can be Masked for everyone and Real value for hr-managers. In the console, open Datasets, choose the source and select By group under the column’s People see:

  1. Select Add a group, type the group and pick what it sees.
  2. Select Save.

A group view can only show more than everyone sees. To show less, change what everyone sees. A person in several groups sees the most open view of their groups. By group appears once the column is saved as a Token. Showing more to a group asks you to sign in again.

Group views change only what people see in their own results. The AI still sees the token.

  • Console. Open Datasets, choose the Source, change the columns, then select Save in the bar at the bottom. The bar counts unsaved changes, and Discard drops them. Find a column appears when a source has 12 columns or more.
  • Setup widget. Ask the admin connector “Set up a connection in Portward” and open the source. Change the columns under Access rules and select Save access rules.
  • Chat. Ask the admin connector, for example “Make email in sales.customers a token and show it masked to people”. It calls propose_access and shows a review card.

Changes that give more access wait for a fresh sign-in. Examples are a token column becoming Real value, or people seeing more. Changes that give less access save at once. Either way, they apply to the next answer.

Columns your config file tokenizes stay tokens, and setup refuses to make them Real value.

Approvals and safety explains how Portward checks changes that give more access.