Skip to content
NewNexus 2.0 is here, and it’s open source. Read the launch post

CLI reference

connect

Connect an account at a connector's vendor: the fields its form takes (a value of - reads stdin for one field, and @<file> reads a file only you can read, so a secret stays out of your shell history), or with none, the OAuth link to open. --org connects the organization's (owners and admins); --write asks for the write access a write refused with write_consent_required needs.

View as Markdown

nexus connect

nexus connect <connector> [--org] [--write] [field=value ...]

Connect an account at a connector's vendor: the fields its form takes (a value of - reads stdin for one field, and @<file> reads a file only you can read, so a secret stays out of your shell history), or with none, the OAuth link to open. --org connects the organization's (owners and admins); --write asks for the write access a write refused with write_consent_required needs.

OptionMeaning
--orgThe organization's account, not your own (owners and admins)
--writeAllow writes: the OAuth link asks the vendor for the write scopes, not only the reads
Examples
echo "$JIRA_TOKEN" | nexus connect jira site=acme.atlassian.net email=ada@acme.example token=-
nexus connect notion
nexus connect microsoft-todo --write
nexus connect jira --org site=acme.atlassian.net email=ada@acme.example token=-
echo "$DD_API_KEY" | nexus connect datadog --org site=datadoghq.com api_key=- application_key=@dd-app.key

Generated from the CLI's own command list (nexus help --json), version 0.45.0. nexus help and nexus <command> --help always show your installed version.