Access
Preview as a customer
Preview as runs your own AI client’s questions on a data source with tenancy as one customer you select.
Requirements
- The Editor role or higher.
- Bonnard connected to your AI client.
- Access to the data source. Admins always have it.
- A data source with tenancy.
- A customer with a tenant (the value that marks its data in your database), set as its Tenant ID.
Choose a customer
- In the console at
app.bonnard.ai, select Data, then the data source. - In its header, select Preview as: Not set.
- Select a customer. Customers marked Suspended or No tenant ID cannot be selected.
- Ask your AI client a question about that data source.
- Make sure that the result starts with
Previewing as <customer> (tenant ID <tenant>).
The customer does not need access to the data source. The list marks such a customer “No access to this data yet”.
What changes while you preview
- Only your own AI client changes, on this data source. Your choice stays until you clear it or the tenancy changes to None.
- The agent is told to say which customer the numbers are for.
- Activity marks each call
Preview as <customer>. - The calls count toward your bill. Activity does not include them in the customer’s usage.
With no customer selected, the agent gets table structure only. sql_query and the other data tools refuse with:
<data source> keeps each customer's data separate. Ask the user to choose a customer under Preview as on the <data source> page: <URL>A Viewer cannot use Preview as, so the same tools refuse with:
<data source> keeps each customer's data separate. Previewing it as a customer needs the editor or admin role, which a workspace admin can give the user.Stop previewing
Select the × next to the customer’s name in the data source header. The header then reads Preview as: Not set. Changing the tenancy to None clears Preview as for everyone on that data source.
Related
- Limit each customer to its own data: how each customer gets only its own data.
- Give access to data: let customers use the data source.
- Connect your AI client: add Bonnard to the client you preview from.