Before you start
- A Fluid API token for the company, from Settings > API Tokens, or your own sign-in with
fluid login. The token must have company admin access with permission to view the company; installing the droplet also needs permission to manage droplets. - Your InfoTrax credentials (listed in step 2).
- Install and sign in to the CLI:
Steps
1
Install InfoTrax
This changes live configuration: it installs the InfoTrax droplet in Fluid, which creates the connection.On a company that has never installed a Connect provider, the connection takes up to a minute to appear after the install. If the next step says InfoTrax isn’t installed, run
fluid connect show infotrax again shortly.fluid connect list shows every provider and whether it’s installed. If InfoTrax is already installed, install says so and changes nothing.2
Save the credentials
This changes live configuration. Fluid tests the connection with the credentials before saving them, so a wrong value is reported and nothing is saved.
You can update one credential later without re-entering the rest: pass only the keys that changed. Values passed with
--set stay in your shell history; to type passwords without echoing them, use fluid connect walk infotrax.3
Review the connection
supportedMappings), and every sync setting with its current value and default (settings). Use it as the reference for the next two steps.4
Find what needs mapping
A mapping tells Fluid which InfoTrax value matches each Fluid value, for example which InfoTrax customer type is a Fluid The report has one entry per mapping type InfoTrax supports:
rep. Do this before the first sync: a value with no row, and no * fallback, can’t be translated.This only reads. InfoTrax’s own values aren’t listed by the API, so nothing can be matched for you; the report tells you exactly which Fluid values need a row.done: true means every type is covered and you can skip to the settings.5
Map the rest
For each value in
unmapped, add a row. This changes live configuration.--options returns Fluid’s values. Take the InfoTrax side of each mapping from your InfoTrax back office. If many Fluid values should go to the same InfoTrax value, add one row whose source is * instead: it’s the fallback for any value without its own row. Remove a row with fluid connect unmap infotrax <type> <id> --yes.Run fluid connect unmapped infotrax again until it reports done: true. See Data mapping for every mapping type and its fields.6
Choose the sync settings
A new connection already starts on the default for every setting, and each default is safe. To take them all and move on, do nothing, or put them back after experimenting (this changes live configuration):Then change only the settings your business needs; start with Common settings.The command prints every setting with its new value. Run
fluid connect settings infotrax with no flags to list them without changing anything, and --defaults --only <entity.key> to restore a single setting.Data mapping
In every mapping, the source fields are Fluid’s value and the target fields are InfoTrax’s. Send a row’s fields with--set field=value.
Customer type, customer status, order status, and order type rows also take
default_for_export=true: when Fluid exports a record whose value has several matching rows, it uses the default one. Every row takes an optional description.
Common settings
These are the settings to decide before the first sync. Each starts on the default shown; pass--set <key>=<value> to change one, or --defaults --only <key> to put it back.
All settings
Every setting InfoTrax supports, asfluid connect show infotrax reports them. Settings that depend on another one only take effect once that one is on.
What the status means
Troubleshooting
credentials fails with a 422. InfoTrax rejected the credentials during the connection test. The error’s details carry InfoTrax’s reason. Check the value it names and run the step again; nothing was saved.
install says the droplet isn’t in the catalog. InfoTrax isn’t available to this company yet. Ask Fluid to make it available.
isn't installed for this company. Every command after step 1 needs the connection. Run fluid connect install infotrax --yes first.
Every command returns 401 on a new company, even with a valid token. Fluid Connect learns about a company when its first provider is installed. Earlier versions of the connect plugin checked first, read the new company’s answer as a bad token, and never installed. Update the plugin with npm install -g @fluid-app/fluid-cli-connect@latest and run step 1 again. If it still returns 401, install the droplet with Create a droplet installation, wait a minute, then continue from step 2.
A mapping command fails with isn't a mapping type. Use the type names in Data mapping, without the _mappings suffix.
A 503 from any command. Fluid couldn’t verify your token at that moment. Run the command again shortly.
Use the API directly
The CLI calls the Fluid Connect API with your Fluid API token as the bearer token. The steps map onto these operations, in order:- Install the droplet in Fluid (
POST /api/droplet_installations), which creates the connection. - Find the connection:
GET /api/v1/integrations/infotraxreturns itscompany_integration_id. - Save credentials or settings:
PUT /api/v1/company_integrations/{id}. - Read the schema and current values:
GET /api/v1/company_integrations/{id}. - List, add, or remove mapping rows:
/api/v1/company_integrations/{id}/{type}_mappings, with the values to choose from at.../source_options.