Fleet integrations

Onboarding

What we set up for you, and the checks before going live.

Markdown

What Robot.com sets up

  • Your partner and its namespace, like partner_acme. Every bot id starts with your fleet's bot id prefix.
  • The fleet configuration, with its poll intervals.
  • A sandbox location with a pickup, a dropoff and a return point, to test deliveries.
  • Your first bots, registered and placed in the sandbox.
  • One API key, with the fleet and delivery scopes.
  • For MQTT: a broker address and one username and password for your fleet.

You receive these as a .env file for the integration kit.

What you do

  1. Choose a transport with PATCH /fleet. For HTTP, send your base_url and the token REMI must send you (at least 32 characters).
  2. Declare capabilities: which commands your bots support and whether they have a door.
  3. Add more bots with POST /fleet/bots when you need them. A new bot has no location until Robot.com operations places it, and gets no work before.
  4. Report state, and handle commands. Check what REMI sees with GET /fleet and GET /fleet/bots: blocked_by says why a bot is not getting work.
  5. Run test deliveries in the sandbox with the Delivery API.

Before going live

In HTTP mode, Robot.com runs a conformance check against your endpoints: valid states from GET /bots, a 202 with a valid body for each command, the same answer for a repeated command id, and the error codes for an unknown bot or command.