Overview
BI.P.EYE is the data layer for AI and embedded analytics. It connects to your databases, warehouses, apps and files, turns the data into clean datasets with pipelines, and links them in models.
The model is also the AI layer. You train it on your business: descriptions, metrics, a glossary and instructions, then test questions and correct the answers. Every AI answer, in dashboard chat, embedded chat and Claude, is built from the model and shows the datasets and joins it used, so you can check how a number was calculated.
The result is served in dashboards, dashboard chat, Claude and embedded analytics inside your own product. Every surface reads the same model and follows the same permissions.
Getting started
The free trial gives full access to every feature for 30 days, with no credit card. The route from sign-up to an embedded dashboard:
- Sign up at bipeye.com/auth/signup with your email or Google.
- Add data: open Datasets, click + Dataset and pick a file, an app or a database you added in Credentials.
- Run the pipeline: filter, select and flatten the data, then Save & Run.
- Choose where it is stored: the BI.P.EYE warehouse, or your own Postgres or Snowflake.
- Schedule the first dataset; the ones that depend on it run after it.
- Build a model that links the datasets that belong together.
- Train the model: describe it, define metrics, test questions.
- Ask questions in a dashboard or in Claude.
- Embed the dashboard in your product.
Each step, with screens, is in How to start. The sections below are the reference for each part.
Connecting data
Add a connection in Credentials. The same connection works as a source and, for Postgres and Snowflake, as a destination for pipeline results.
| Type | Sources |
|---|---|
| Databases | PostgreSQL, MySQL, SQL Server, MongoDB, ClickHouse |
| Warehouses | Snowflake, BigQuery |
| Storage | Amazon S3 (CSV, JSON, Excel, Parquet) |
| Apps | Shopify, Google Sheets, Google Analytics 4, any HTTP API |
| Files | CSV and JSON uploads |
Allow the BI.P.EYE IPs
If your database accepts connections only from known addresses, allow these two IPs before you click Test Connection:
13.41.211.12
18.132.136.203
Create a read-only user
Give BI.P.EYE its own user that can only read. It reads the schema and runs the queries your pipelines and charts need, and nothing else. Replace the names in angle brackets.
CREATE ROLE bipeye_reader WITH LOGIN PASSWORD '<strong password>';
GRANT CONNECT ON DATABASE <database> TO bipeye_reader;
-- Repeat for each schema BI.P.EYE should read
GRANT USAGE ON SCHEMA <schema> TO bipeye_reader;
GRANT SELECT ON ALL TABLES IN SCHEMA <schema> TO bipeye_reader;
-- Tables created later, by the role that owns the schema
ALTER DEFAULT PRIVILEGES FOR ROLE <owner role> IN SCHEMA <schema>
GRANT SELECT ON TABLES TO bipeye_reader;
ALTER DEFAULT PRIVILEGES covers only tables created by the role you
name, so name the role your application uses to create tables.
CREATE USER 'bipeye_reader'@'%' IDENTIFIED BY '<strong password>';
-- Repeat for each database BI.P.EYE should read
GRANT SELECT, SHOW VIEW ON <database>.* TO 'bipeye_reader'@'%';
A grant on <database>.* also covers tables created later.
CREATE LOGIN bipeye_reader WITH PASSWORD = '<strong password>';
-- Repeat for each database BI.P.EYE should read
USE <database>;
CREATE USER bipeye_reader FOR LOGIN bipeye_reader;
ALTER ROLE db_datareader ADD MEMBER bipeye_reader;
GRANT VIEW DEFINITION TO bipeye_reader;
db_datareader reads every table and view in the database, including
ones created later.
USE ROLE ACCOUNTADMIN;
CREATE ROLE IF NOT EXISTS BIPEYE_ROLE;
GRANT USAGE ON WAREHOUSE <WAREHOUSE> TO ROLE BIPEYE_ROLE;
-- Repeat this block for each database BI.P.EYE should read
GRANT USAGE ON DATABASE <DATABASE> TO ROLE BIPEYE_ROLE;
GRANT USAGE ON ALL SCHEMAS IN DATABASE <DATABASE> TO ROLE BIPEYE_ROLE;
GRANT USAGE ON FUTURE SCHEMAS IN DATABASE <DATABASE> TO ROLE BIPEYE_ROLE;
GRANT SELECT ON ALL TABLES IN DATABASE <DATABASE> TO ROLE BIPEYE_ROLE;
GRANT SELECT ON ALL VIEWS IN DATABASE <DATABASE> TO ROLE BIPEYE_ROLE;
GRANT SELECT ON FUTURE TABLES IN DATABASE <DATABASE> TO ROLE BIPEYE_ROLE;
GRANT SELECT ON FUTURE VIEWS IN DATABASE <DATABASE> TO ROLE BIPEYE_ROLE;
CREATE USER BIPEYE_USER TYPE = SERVICE DEFAULT_ROLE = BIPEYE_ROLE DEFAULT_WAREHOUSE = <WAREHOUSE>
RSA_PUBLIC_KEY = '<contents of rsa_key.pub without the BEGIN/END lines>';
GRANT ROLE BIPEYE_ROLE TO USER BIPEYE_USER;
Sign in with a key pair. Snowflake is phasing out password sign-in without MFA. Create the key pair with:
openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out rsa_key.p8 -nocrypt
openssl rsa -in rsa_key.p8 -pubout -out rsa_key.pub
Paste the private key (rsa_key.p8) in the credentials form. The
credentials form also writes this script with your own names filled in.
- In Google Cloud, create a service account for BI.P.EYE.
- Give it BigQuery Data Viewer on the datasets it should read (or on the project), and BigQuery Job User on the project, so it can run queries.
- Create a JSON key for the service account and paste the whole file in the credentials form.
-- readonly = 2: can read and set query settings, cannot write or change tables.
-- (readonly = 1 refuses the query settings BI.P.EYE sends, so it does not work.)
CREATE USER IF NOT EXISTS bipeye_reader
IDENTIFIED WITH sha256_password BY '<strong password>'
SETTINGS readonly = 2;
-- Repeat for each database BI.P.EYE should read
GRANT SELECT, SHOW ON <database>.* TO bipeye_reader;
-- Optional: lets the schema browser show when each table was last written
GRANT SELECT ON system.parts TO bipeye_reader;
use admin
db.createUser({
user: "bipeye_reader",
pwd: "<strong password>",
roles: [{ role: "read", db: "<database>" }]
})
Add one read role for each database BI.P.EYE should read.
A user for your own warehouse as a destination
When pipelines write their results to your own Postgres or Snowflake, use a separate user that can create and write tables in one schema set aside for BI.P.EYE. Keep the read-only user for reading your source tables. For Postgres:
CREATE ROLE bipeye_writer WITH LOGIN PASSWORD '<strong password>';
CREATE SCHEMA bipeye AUTHORIZATION bipeye_writer;
Datasets and pipelines
A dataset is the result of a pipeline: a source, the steps that clean and shape it, and a destination.
Steps
- Filters, Select Columns (keep and rename fields) and Flatten Array (one row per item in a nested list, such as the products in an order).
- Click + between steps to add one, and Test ETL to preview the result before Save & Run.
- Data Warehouse step: the destination. The BI.P.EYE warehouse, your own Postgres, or your Snowflake.
- Upsert (optional): update a row when its key columns already exist, instead of adding a duplicate.
Change the steps with AI
In the box next to Test ETL, type what you want, for example keep only Online Store orders. Column names complete as you type, and suggestions read from your data appear under the box. The change is shown step by step first: Accept and run applies and tests it, and Undo last change puts it back. If a run fails, returns no rows or leaves a column empty, Fix with AI asks the assistant why.
Order and schedule
- Run when finished: set the dataset that should run before this one.
- Interval: set a schedule on the first dataset, in your local time. Every dataset that depends on it runs after it, in order.
- Datasets → Pipeline shows the whole chain. Failures trigger alerts.
Models and training
A model is the semantic layer: the datasets that belong together and the relationships between them. Dashboards, dashboard chat, embedded chat and Claude all read the model, so the numbers match everywhere.
Build a model
- Every dataset is in the Default model. Click + New model to group the datasets that belong together.
- On the map, drag the dot from a fact dataset (such as orders) onto a dimension (such as products) and pick the matching fields.
- With a database connected, Suggested models on the Models page proposes the tables that belong together.
Train it
- Semantic layer tab: descriptions, metrics, a glossary, example questions and instructions for the AI. AI readiness shows how much of the model the AI can read about, and the next best step.
- Generate with AI drafts what is empty; review the drafts and save.
- Training the model tab: ask a question, run it and see how the answer was built (datasets, joins, keys and what one row means). Mark it Correct to keep it as an example, or Wrong with a short note that becomes an instruction.
- History keeps every version of the layer for 30 days, ready to restore.
Dashboards and AI
- Charts: Dashboards → + Dashboard, then + Add Chart to build charts in the UI.
- Dashboard chat: Set up chat, turn on Enable chat on this dashboard and choose a model. Viewers ask in plain language and get a chart back, with the workflow, datasets and joins it used. Suggest questions writes a few questions for the model.
- Analyze: on a table chart, lists what an analyst would point out, with the numbers behind each finding. It uses the table's own data with the table's and the dashboard's filters applied, and changes nothing until you save.
- Views: ready ways to regroup the same table; Original table puts it back.
- UX Assistant: reviews a chart or the whole dashboard and shows each suggestion on the real dashboard before you keep it.
- Summarize: a few sentences at the top of the dashboard about what its charts show now, for this viewer and with their filters. It runs only when someone clicks it. If the charts change afterwards, the summary says so instead of rewriting itself.
- Time comparison: compare the dashboard with the previous period or the previous year.
Tables
- Drill down: click a row to open its details, in a dialog or inline.
- Redirect: click a row to open another dashboard, with values from the row set on that dashboard's filters. In the table's settings, pick the dashboard, then pair each row field with a filter parameter. Redirect works in the app; in embedded dashboards, a row click opens the drill-down instead.
- Download a table as CSV or Excel.
What the AI sees
Suggest questions sends field names only, never rows. The workflow assistant reads the columns and, only if your organization allows AI to see values, a few sample values. When the AI drafts the semantic layer, restricted values and personal data are masked before it reads a sample. Nothing the AI proposes is saved until you accept it.
Dashboard filters
A dashboard filter is built on one dataset field. It can show as a list, a multi select (a list or buttons), a date range, a comparison (greater than, less than), or a text match (includes, excludes, is not).
Parameters
Give a filter a name in Universal parameter, for example
country. Other filters and the conditions of charts can then use its value as
${country}, so one choice drives several filters and charts. A parameter is
also how a URL or a table redirect sets the filter (see below).
Default values
| Type | The filter starts with |
|---|---|
| Constant value | A value you choose. |
| Days back | The date a number of days before today, for example 30 days back. |
| Start of month offset | The first day of this month, or of an earlier month (1 is last month). |
| Last value | The latest value in the data, such as the most recent date. |
Filter list of values
Conditions under Filter list of values limit which values the filter
offers. They can use parameters: country is ${country} on a city filter lists
only the cities of the chosen country.
Filters narrow each other
Turn on Filters narrow each other in the filters settings, and each filter's
list shows only the values that match the other filters. BI.P.EYE adds a parameter to every
filter that has none, then shows the ${param} rows it will write before
writing them. The rows stay visible in each filter's settings. Check
links covers filters added later, and the history lets you revert a change.
Narrowing only removes values. In an embedded dashboard, the link's row-level rules apply first, so a filter can never show values the link excludes.
Set filters from the URL
Add overrideParams to a dashboard URL, in the app or in an embed link, to open
it with filters already set. Each pair is a filter's parameter and its value, separated
by commas:
&overrideParams=country=France,channel=Online%20Store
- A pair sets the filter whose parameter has that name, in place of its default value. Names that match no filter are ignored.
- Values cannot contain a comma or
=. Encode spaces and other special characters, as inOnline%20Store. - Viewers can still change the filter afterwards.
overrideParamsis not a security setting: to limit what a customer can see, use the link's row-level rules.
Built-in functions
| Function | Value |
|---|---|
BUILT_IN_FUNCTION_DATE_NOW |
Today's date (YYYY-MM-DD) when the filter runs. Use it as a filter
value, for example to compare a date field with today. |
Roles and permissions
- Team roles control access inside your company: Owner, Modifier, BI Engineer, Data Analyst and Viewer. Datasets, dashboards and models can also be granted to specific people.
- Row-level rules control what each embedded customer sees.
- Dashboard chat, embedded chat and Claude follow the same permissions as the charts.
- Only models set to Available in Claude are visible in Claude. Every model starts Off.
Embedding
Embed a dashboard in a website, a customer portal or an internal system, in your own branding. Try it first in Playground in the left menu.
Two kinds of key
| Key | Where it comes from | Who uses it |
|---|---|---|
| Organization API key | OpenAPI → API Keys in BI.P.EYE | Your server only. It is a master key: never put it in a browser, an iframe URL or client-side code. |
| Dashboard API key | Created by your server with POST /embed/link, one per link |
The embedded dashboard. Short-lived, for one dashboard, with its own rules. |
Creating dashboard keys by hand from a dashboard's Share menu is deprecated. Create them with the API, from your server.
Embed a dashboard
- Your server calls
POST /embed/linkwith the organization key. - The response has the
urlto embed and the new dashboardapiKey. - Your page puts the
urlin an iframe.
curl -X POST https://api.bipeye.com/v1/embed/link \
-H "X-API-Key: $BIPEYE_ORG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"organizationId": "<organization id>",
"dashboardId": "<dashboard id>",
"apiKeyName": "Customer portal",
"expiresInDays": 1,
"restrictDatasetsData": {
"<dataset id>": {
"filters": [{ "jsonPath": "$.accountId", "type": "is", "value": "ac_123" }]
}
},
"security": { "allowedDomains": ["app.example.com"] }
}'
<iframe src="<url from the response>" width="100%" height="800" style="border:0"></iframe>
Row-level rules
restrictDatasetsData sets the rows each dataset shows on this link. Keys are
dataset IDs; POST /dashboards/datasets lists a dashboard's datasets and their
fields.
- Listed with filters: the link shows only the rows that match.
- Listed with
"filters": []: the link shows all the dataset's rows. - Not listed: a dataset the dashboard used when the link was created
shows all its rows. A dataset the dashboard starts using later is not shown ("Not
available for this link") until you list it with
PATCH /embed/apiKey.
Filter types: is, is not, multi select,
includes, not includes, is greater than, is
less than, is greater than or equal to, is less than or equal
to, date range, days back, is exists and
is not exists. A filter that cannot be applied, such as is with an
empty value, is refused with 400.
Link security
security protects one link, in addition to the IP and domain lists set on the
dashboard in the app. A viewer must pass both.
| Field | What it does |
|---|---|
password |
Viewers enter it before the dashboard opens. 8 to 72 characters, stored hashed, never returned. |
allowedIps |
Up to 100 IPs or CIDR ranges, IPv4 and IPv6. Checked on the embed page and on every data request. |
allowedDomains |
Up to 50 sites allowed to show the link in an iframe, such as
app.example.com (with its subdomains) or
*.example.com. Enforced by the browser; opening the link outside
an iframe is refused.
|
More link options
expiresInDays: 360 days if omitted. For a link per viewer session, use a short value (minimum 1). Only unexpired links count toward your plan's API key limit.enableDashboardChat: lets viewers ask questions about the data. Answers use only the datasets the link shows, with its row-level rules.overrideCurrency: the currency symbol shown in every chart, as a code or a symbol. Codes:USD,EUR,GBP,ILS,JPY,AUD,DKK,CAD.
URL parameters
The url from POST /embed/link already carries the key. You can add
these to it:
| Parameter | What it does |
|---|---|
overrideParams |
Opens the dashboard with filters set, for example
overrideParams=country=France. See Set
filters from the URL.
|
overrideCurrency |
The currency symbol in every chart. Set by the API when you send
overrideCurrency, or add it yourself.
|
The dashboard title is set on the key (Overrides tab, below), not in the URL. A title added to the URL by hand is replaced with the key's title, or removed.
Key settings in the app
Each dashboard key also has settings in the app: open the dashboard's Share menu and the key's settings.
| Tab | What it sets |
|---|---|
| Data | For each dataset: show with a filter (only matching rows), show without a filter (all rows), or hide. Charts that use a hidden dataset show "Not available for this link". You can also restrict a dataset before the dashboard starts using it. |
| Chat | Turns the dashboard chat on or off for this key. |
| Security | Password, allowed IPs and allowed domains, as in the API. |
| Appearance | Light, dark, or the viewer's system setting, and whether viewers get a dark mode switch. Every key starts light. |
| Overrides | Replaces the dashboard title for this key. Needs the title turned on in the dashboard's Share settings. |
Chat in an embedded dashboard
With the chat on for the link, viewers ask questions in plain language and get a chart back.
- The chat uses the model chosen for the dashboard. It reads the datasets the link shows, with the link's row-level rules applied on every request. A dataset of the model that no chart uses is read only if the key's Data tab shows it.
- Viewers can ask follow-ups, edit an answer in the chart editor, and add an answer to the dashboard. An added answer stays for that session only: nothing is saved, and a refresh removes it.
- Viewers cannot change the chat's datasets, see the query, or save charts to the dashboard.
- Summarize shows in an embedded dashboard once the model's semantic layer explains every field the charts show. The key's settings list the fields that are missing.
Limit what an organization key can do
On OpenAPI → API Keys, each organization key can be limited to the dashboards, models or datasets granted to it, whether it may turn on the dashboard chat, whether it may create links without row-level rules, and the longest link lifetime. A request outside these limits is refused with 403.
Change or revoke a link
PATCH /embed/apiKeychanges the expiry, the row-level rules, the chat setting or the security of an existing link. Fields you omit are kept, except the expiry, which resets to 360 days unless you send it.DELETE /embed/apiKeydeletes the link. Any iframe using it loses access at once.
API
Base URL: https://api.bipeye.com/v1. The full reference, with every field and a
way to send test requests, is at api.bipeye.com/v1. The OpenAPI file is at /v1/openapi.json.
Authentication
Send your organization API key in the X-API-Key header on every request.
Endpoints
| Endpoint | What it does |
|---|---|
POST /embed/link |
Creates a signed embed URL and its dashboard API key. |
POST /dashboards/datasets |
Lists a dashboard's datasets and their fields, for row-level rules. |
PATCH /embed/apiKey |
Changes an existing embed link. |
DELETE /embed/apiKey |
Deletes an embed link. |
Rate limits
100 requests per minute per API key. Above that, the API returns 429 Too Many
Requests. After 30 failed authentication attempts from one IP in 15 minutes,
requests from it are refused with 429 and a Retry-After header.
Errors
| Status | Meaning |
|---|---|
| 400 | The body failed validation. details names each field. |
| 401 | The API key is missing, wrong or expired. |
| 403 | The key has no access to the dashboard or a dataset, or may not do what was asked. |
| 404 | The dashboard or key was not found in your organization. |
| 429 | Too many requests. Wait and retry. |
Claude
The BI.P.EYE connector lets you ask Claude about the data in your models. It is read-only, each person signs in with their own BI.P.EYE account, and Claude sees only the models set to Available in Claude.
- In BI.P.EYE, open Models and set Available in Claude to Everyone on the models Claude should use.
- In Claude, open the BI.P.EYE page in the Claude directory and select Connect.
- Sign in to BI.P.EYE, choose the organization and select Allow.
- Ask a question in a new chat.
Requirements, tools, result limits, troubleshooting and disconnecting are in the Claude connector guide.
Support
Email [email protected]. The team also helps with data modeling, pipelines and dashboards. Never send passwords or API keys by email.