Bootstrap an account using the Fluent CLI
Authors:
Marco Heuer, Ankit Mehta
Changed on:
4 Nov 2025
Key Points
- Create a profile
- Create a retailer
- Configure and Install the Fluent Reference Modules
- Configure and Install the Extension Data module
- Validate the Account setup
Steps
Prerequisites
- Access to a Fluent Account, including the Account Admin credentials
- The Fluent CLI is successfully installed (see Getting Started with the Fluent CLI)
- Postman (and the Fluent CLI Test Collection)
Create a Profile
`fluent profile create cli-sample --id <ACCOUNT_ID> --base-url https://<account_id>.sandbox.api.fluentretail.com --username <account_id>_admin --password <password> --client-secret <client_secret>`Make sure you replace the placeholders above with the relevant Account information.
Create a Retailer
`fluent retailer create sample --email sample@test.com --profile cli-sample`
Configure Reference Modules
`fluent module config order --retailer sample --profile cli-sample``fluent module config inventory --retailer sample --profile cli-sample`This will produce new module configuration files in the current working directory:- module.config.sample.order.json
- module.config.sample.inventory.json
Install Reference Modules
- Install the Core Reference Module:
`fluent module install core --retailer sample --profile cli-sample` - Install the Fulfilment Reference Module:
`fluent module install fulfilment --retailer sample --profile cli-sample` - Install the Order Reference Module with our configuration:
`fluent module install order --config module.config.sample.order.json --retailer sample --profile cli-sample` - Install the Inventory Reference Module with our configuration:
`fluent module install inventory --config module.config.sample.inventory.json --retailer sample --profile cli-sample`
`sample` Retailer.
Configure and Install the Extension Data Module
`fluent module config https://downloads.fluentcommerce.com/v1.0.0/modules/fcx/b2c-sample-data/latest --retailer sample --profile cli-sample``fluent module config https://downloads.fluentcommerce.com/v1.0.0/modules/fcx/b2c-sample-data-inventory/latest --retailer sample --profile cli-sample`This will produce new module configuration files in the current working directory:- module.config.sample.b2c-sample-data.json
- module.config.sample.b2c-sample-data-inventory.json
`module.config.sample.b2c-sample-data-inventory.json` for a non-production account. Keep the batch preprocessing flag on `false`.Next we can install both modules:`fluent module install https://downloads.fluentcommerce.com/v1.0.0/modules/fcx/b2c-sample-data/latest --config module.config.sample.b2c-sample-data.json --retailer sample --profile cli-sample`Now wait 10mins for internal catalog caches to clear and then proceed with loading inventory. This wait is only needed the first time the inventory catalogues are created.`fluent module install https://downloads.fluentcommerce.com/v1.0.0/modules/fcx/b2c-sample-data-inventory/latest --config module.config.sample.b2c-sample-data-inventory.json --retailer sample --profile cli-sample`
Test your Account Setup
- Export the Profile for Postman:
`fluent profile export cli-sample --format postman --retailer sample`This will create a new Postman Environment File in the current working directory.- Open the Postman Environment File and copy the password for the sample Retailer Admin User.
- Open the Postman Environment File and copy the password for the sample Retailer Admin User.
- Open the Fluent OMS web app in a browser, and log in to the Fluent OMS web app:
`https://<account_id>.sandbox.apps.fluentcommerce.com/oms/`- Take a look around at the following areas to see the data created (as per the configured Extension Data Module):
- Retailers
- Carriers
- Users
- Roles
- Settings
- Locations
- Networks
- Product Catalogues (Including Products & Categories)
- Inventory Catalogue
- Virtual Catalogues
- Control Groups
- Take a look around at the following areas to see the data created (as per the configured Extension Data Module):
- Import the Environment File and CLI Test Collection into Postman
- Authenticate the Account Admin User
- Run the “Get Plugin Rules” request. Click on the “Visualize” tab in the response window to view the Installed Plugins and Rules library.
- Authenticate the Retailer Admin User
- View the installed Workflows
- Create a Customer
- Create a CC Order (Dependent on Product / Inventory Feeds)
- Create a HD Order (Dependent on Product / Inventory Feeds)
- Authenticate the Account Admin User
- Return to the Fluent OMS web app, and view the new Orders, and the Inventory Reservations
- Open the Fluent Store web app:
`https://<account_id>.sandbox.apps.fluentcommerce.com/store/`- Log in with username / password: <LocationRef> / <LocationPassword>
Note: Replace the 1 with the relevant Retailer Id, should this not be the first Retailer in the Account. - Create a Wave, and complete the Pick, Pack, Dispatch process
Note: You can see the Order and Fulfilment statuses change for each step in Fluent OMS - Collect the Articles using the Customer Collection and Carrier Collection Screens
- The Orders should now be completed
- Log in with username / password: <LocationRef> / <LocationPassword>
