Command

nylas admin connectors create

Create a connector

Written by Qasim Muhammad Staff SRE

What does nylas admin connectors create do?

The nylas admin connectors create command creates a connector. It is part of the Admin (API Management) commands, which manage Nylas applications, callback URIs, connectors, credentials, and grants.

Usage

nylas admin connectors create

Flags

FlagDescription
--client-id stringOAuth client ID
--client-secret stringOAuth client secret
--imap-host stringIMAP host (for IMAP provider)
--imap-port intIMAP port
--name stringConnector name (required)
--provider stringProvider (google, microsoft, imap, etc.) (required)
--scopes stringSliceOAuth scopes (comma-separated)
--smtp-host stringSMTP host (for IMAP provider)
--smtp-port intSMTP port
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas admin connectors create command creates a connector.

JSON output for scripting

nylas admin connectors create --json

Filter by client-id

nylas admin connectors create --client-id <value> --json

Troubleshooting

Command not found or fails

Run `nylas auth config` and `nylas auth login` to authenticate first.

Recommended guides

Run nylas admin connectors create --help for full help output.