Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
To follow the steps in this guide, you’ll need:- Organization Admin permissions in Omni
- Permissions in Postgres that allow you to create database users
Setup
Create an Omni database user
-
In your Postgres database, run the following command to create a database user for Omni:
Create Omni user
-
Grant permissions to the Omni user. If you’re using a schema other than
public, run the following to grant usage to Omni:Grant usage to the Omni user -
Lastly, ensure any tables created in the future will be accessible:
Grant permissions to future tables to the Omni user
Set up a table upload schema
This step is optional. However, we recommend completing it as part of the initial set up or you won’t be able to use uploaded files like CSVs in joins.
- Create the schema in Postgres.
-
Run the following commands to grant the Omni user the required privileges:
Grant Omni user permissions to upload schema
Allowlist Omni's IP addresses
If access to the Postgres database is limited by IP address, you’ll need to add Omni’s IPs to the allowlist before you create the database connection.Omni’s IP addresses can be found on an individual connection’s page, accessed by navigating to Settings > Connections and clicking a connection.
What’s next?
Now that your database is set up, you can:- Use the Omni Agent’s quickstart skill to create your first topic from business questions
- Configure user permissions, schema refreshes, environments and timezone settings
- Learn how Omni generates the model associated with the connection