Documentation

Get started with Trinitis in minutes. Connect your first database and deploy your first policy.

Quick Start Guide

Follow these steps to set up Trinitis and enforce your first policy in under 10 minutes.

1

Create an Account

Sign up at app.trinitis.ai with your work email. No credit card required for the free tier.

# Or use the CLI
$ npm install -g @trinitis/cli
$ trinitis login
2

Connect Your First Database

Add a database connection from the dashboard. Trinitis supports PostgreSQL, MySQL, MongoDB, and more.

# Example: PostgreSQL connection
{
"name": "production-db",
"type": "postgresql",
"host": "db.example.com",
"port": 5432,
"database": "myapp"
}
3

Create Your First Policy

Use the visual policy builder or write policies as code. Here's a simple example that restricts PII access:

# Policy: Restrict PII access to analysts only
policy "pii_access" {
resource = "users.email, users.ssn"
allow = ["role:analyst", "role:admin"]
deny = ["role:engineer"]
}

Deploy & Test

Deploy your policy with one click. Trinitis will immediately start enforcing it across all connected databases.

# Test the policy
$ trinitis test pii_access --user engineer@company.com
❌ Access Denied: User lacks required role
$ trinitis test pii_access --user analyst@company.com
✅ Access Granted

Need help?

Our team is here to help you get started. Book a call or reach out directly.