integrate-any-external-app
Self-Integration
Connect to any external app and perform actions on it. Uses the Membrane CLI.
Authentication
Authenticate with the Membrane CLI:
npx @membranehq/cli login --tenant
Alternatively, you can install the membrane CLI globally (npm i -g @membranehq/cli@latest) and use membrane login --tenant instead.
Always use --tenant to get a tenant-scoped token — this authenticates on behalf of a specific tenant (workspace + customer) in Membrane, so you don't need to pass --workspaceKey and --tenantKey on every subsequent command.
This will either open a browser for authentication or print an authorization URL to the console, depending on whether interactive mode is available. The user authenticates in Membrane, then selects a workspace and tenant (user inside workspace).
When login process is completed, the credentials are stored locally in ~/.membrane/credentials.json and used in subsequent commands automatically.