---
title: Shipway fleet scan
description: Have an agent fill Shipway's fleet map with where each project is deployed, using read-only connector calls.
section: Guides
order: 17
---

# Shipway fleet scan

A fleet scan fills Shipway's fleet map with where each project is deployed.
A Coordinator (or any Admiral session) runs it with connectors it already has.
Admiral itself never scans; Project settings → Shipway only reads the result.

## Rules

- Read providers only. Use list and get tools. Never deploy, restart, purge,
  or change a provider.
- Shipway stores no secrets. Record account labels and non-secret IDs only.
- Record a deployment only when the provider shows it. Do not guess URLs.

## Steps

1. Call `shipway.fleet` to get each project's `slug` and `admiral_project_id`.
2. For each provider connector (Rocket.net, Pressable, Cloudflare, Vultr,
   Kinsta), list its sites, apps, or servers.
3. Match a provider site to a project by domain, repository, or name. Skip
   anything you cannot match with confidence and list it in your report.
4. For each account you used, call `shipway.account_upsert` with
   `{provider, label}` (add `external_id` when the provider gives one).
5. For each matched deployment, call `shipway.deployment_record` with
   `{app, provider, environment, url}` and, when known, `account` (the label
   from step 4), `server`, `external_ref`, `health`, and `last_deployed_at`.
   `app` may be the Shipway slug or the Admiral project id.
6. Report what you recorded, what you skipped, and why.

`deployment_record` fails with "no account" until step 4 has created the
account. It accepts only the fields listed in step 5.
