Overview
Manage integrations, integrated accounts and sync jobs, call Unified and Proxy APIs through any integrated account, and build integrations from API docs, all from your terminal with truto.
Skip the reading — fast path for coding agents
truto context
/skill truto-cli
What you can do
| Area | Examples |
|---|---|
| Authentication | truto login, profiles for staging vs production |
| Integrations | List, create, update; AI-powered integrations build; push configs with apply |
| Unified mappings | AI-powered unified-mappings build of JSONata mapping rows; validate and apply |
| Integrated accounts | truto accounts list, refresh OAuth, mint short-lived backend tokens |
| Tenants | truto tenants list/create, truto tenants create-bulk, truto open tenants |
| Automation | Sync jobs, workflows, webhooks, daemon jobs |
| Data plane | truto unified, truto proxy, truto custom, truto batch, unified test-mapping |
| Power tools | export, diff, jsonata eval, open resources in the dashboard |
Before you begin
You need two things before the CLI can talk to Truto:
| Requirement | What it is | How to get it |
|---|---|---|
| Truto account | Access to the dashboard and your team | Sign in or ask your team admin for an invite |
| API token | A secret Bearer credential scoped to one environment | Create one in the dashboard — see Creating API tokens |
Each API token belongs to a single environment. Commands only see integrations, accounts, and other resources in that environment. Use separate CLI profiles if you work across staging and production.
Quick start
1. Install the CLI
Linux / macOS:
curl -fsSL https://cli.truto.one/install.sh | bashThe installer places truto in ~/.truto/bin. If truto is not found, add that directory to your PATH (the install script usually prints the exact line to run), then open a new terminal tab.
Windows (PowerShell):
irm https://cli.truto.one/install.ps1 | iexInstalls to %USERPROFILE%\.truto\bin\truto.exe. Open a new terminal after install.
See Installation for version pinning, custom install directories, and upgrades.
2. Log in
Interactive — the CLI prompts for profile name, API URL, and token:
truto loginNon-interactive — pass the token you copied from the dashboard:
truto login --token "<paste-your-token-here>"Leave the API URL at the default (https://api.truto.one) unless your team uses a custom instance.
Details: Authentication.
3. Verify
truto whoamiYou should see your profile, API URL, and team name. whoami resolves credentials as every other command does (--token, then -p, then TRUTO_API_TOKEN, then the active profile), and its profile column names where the token came from.
4. Explore your environment
# Integrations installed in this environment
truto environment-integrations list
# The whole integration catalog your team can install
truto integrations list
# API tokens you can inspect (create/delete still requires the dashboard)
truto api-tokens listNext commands to try:
truto accounts list # your customers' integrated accounts
truto tenants list # tenants in this environment
truto integrations list --name hubspot # filter by slug
truto open tenants # open the tenants page in your browserFor a full product walkthrough (Link, webhooks, first unified call), continue with Getting started.
Documentation map
| Topic | Page |
|---|---|
| Install and upgrade | Installation |
| Login, profiles, tokens | Authentication |
| Flags and output formats | Global options |
| Integrations (CRUD, apply, lint) | Managing integrations |
| AI build from docs | AI-powered build |
| Add one method (you supply details) | Add method |
| AI build of unified mapping rows | Unified mappings build |
| Accounts, sync jobs, webhooks, etc. | Admin resources |
| Unified, proxy, custom, batch | Data plane |
| Export, diff, JSONata, open | Power features |
| Guided wizard | Interactive mode |
| Full command list | Command reference |
| Cookbook examples | Examples |
Related resources
- Getting Started — first API call and dashboard setup
- Guides — platform concepts
- API Reference — REST endpoints the CLI wraps
- TypeScript SDK — programmatic alternative to the CLI