Skip to content

Installation

Terminal window
npm install -g @fyrn/cli

Verify the installation:

Terminal window
fyrn --version
# fyrn/0.9.0 linux-x64 node-v20.10.0

Log in to your fyrn account:

Terminal window
fyrn auth login

This opens your browser for OAuth authentication. Once complete, your credentials are stored locally in ~/.fyrn/credentials.json.

Create a new fyrn project directory:

Terminal window
fyrn init my-integrations
cd my-integrations

This creates:

my-integrations/
├── fyrn.config.yaml # Project configuration
├── flows/ # Your flow definitions
├── connectors/ # Connector configurations
└── .fyrn/ # Local state (gitignored)

Add the systems you want to integrate:

Terminal window
# Interactive connector setup
fyrn connector add shopify
# Or specify auth directly
fyrn connector add salesforce --auth oauth2

The CLI guides you through authentication for each connector. Credentials are encrypted and stored securely.