Setting up CLI access

Installing the CLI

To install the CLI, you can either use npm or yarn.

Install with npm

To use npm:

npm i -D @fabricate/cli

Install with yarn

To use yarn:

yarn install -dev @fabricate/cli

Configuring an API key

Before you can use the CLI, you must define an environment variable called FABRICATE_API_KEY that contains a valid Fabricate API key.

Allowlisting the Fabricate IP address

To allow Fabricate to connect directly to your database, allow access from the following IP addresses:

  • 5.161.104.100

Last updated