keyboardGL Connectors CLI

Command-line interface for working with BOSA ecosystem tools and services.

triangle-exclamation

bosa-cli is the official command-line tool designed to streamline operations, automation, and integrations within the GL Connectors ecosystem. It provides commands for authentication, service registration, project bootstrapping, plugin management, and more.

Installation

From PyPIi:

pip install bosa-cli

Quick Start

Authentication

First, authenticate with your credentials:

bosa auth login

You'll be prompted for:

  • Client API Key: Your client API key (input will be hidden)

  • Username: Your user identifier

  • User Secret: Your user secret (input will be hidden)

circle-info

By default, You will be log in to production https://api.bosa.id

For testing or custom URL, please use --api-url flag

Authentication with custom URL:

Check authentication status:

Logout and clear session:

Commands

Authentication

The bosa auth command manages your authentication credentials and session with the GL Connector's API Platform. All CLI operations require authentication, so this is typically the first command you'll use.

Login

Authenticate with your Connectors credentials to start using the CLI.

Usage:

Options:

  • --api-url <url> - Custom Connectors API URL (default: https://api.bosa.id)

Interactive Prompts:

  • Client API Key - Your client API key (format: sk-client-*, input hidden)

  • Username - Your user identifier

  • User Secret - Your user secret (input hidden)

Examples:

Status Check

Check your current authentication status and session information.

Usage:

Examples:

Logout

Clear your stored authentication session and credentials.

Usage:

Output:

circle-info

Notes:

  • API URL is stored with the session and used for all subsequent commands

  • Always use bosa auth logout when switching between environments or when done working


Integration Management

List all available connectors and their integration status:

This shows a simple table with:

  • Connector: Name of each available connector

  • Integrated: ✓ if you have integrated with that connector, ✗ if not

Add a new integration (initiates OAuth flow):

Show all accounts for a specific connector:

This displays:

  • Number of integrations found

  • Table showing account identifiers for each integration

Remove a specific integration:

User Management

Create a new user:

Important: Save the user secret securely! It's only shown once.

Configuration

The CLI stores configuration in ~/.bosa/config.json. This file contains:

  • Authentication session (client key, user token, API URL)

  • Session expiration information

The API URL is only configurable during authentication using the --api-url flag.

Last updated