Getting Started Guide
A complete walkthrough from sign-up to serving your first styled nautical chart tile. Looking for the shortest path to code? Jump to the Quickstart →
1. Sign Up & Verify Email
Navigate to /auth and create an account with your email and password. You'll receive a confirmation email — click the link to verify your address before you can sign in.
Already have an account? Sign in at the same page. Password recovery is available via /reset-password.
2. Accept Terms of Service
After signing in for the first time, you'll enter the 5-step onboarding flow. The first step presents CHRT's Terms of Service.
- Scroll requirement — you must scroll through the full terms before the acceptance controls unlock.
- Safety disclaimers — two highlighted disclaimers (navigational safety and SOLAS compliance) require explicit acknowledgment.
- Signature — type your full legal name to sign.
- Human verification — a Cloudflare Turnstile challenge confirms you're a real person.
3. Choose Plan & Coverage Region
Step 2 presents a comparison of plans. Free, Dev and Pro are available for self-serve signup; World and Enterprise are shown for reference.
- Free — US coverage, 5k tile-serves/month. Great for evaluation, and permanent.
- Dev ($9/mo) — 10k tile-serves, plus CHRTinteract and custom CHRTstyle styles.
- Pro ($49/mo) — 50k tile-serves, plus CHRToffline and priority support.
- World / Enterprise — not currently open for self-serve signup. Contact us for volume needs.
Coverage is US on every plan, including Pro — CHRT serves NOAA and the U.S. Army Corps of Engineers, the only charting authorities it has licensed. Paid plans buy quota and products, not more chart area. Additional countries are in development.
Each plan includes an inline coverage selector — pick the country your application needs chart data for. US is the only option today; the selector opens up as further hydrographic offices are licensed. Coverage determines which chart sources your API keys can access.
4. Configure Usage Limits
Step 3 lets you set monthly guard rails to prevent unexpected charges:
- Monthly tile-serve cap — maximum number of tile requests per billing period.
- Monthly spend cap — dollar-amount ceiling for metered usage.
- Notification thresholds — receive email/in-app alerts when usage reaches 50%, 75%, 90%, or 100% of your caps.
- Enforcement mode — choose whether exceeding a cap triggers a warning or blocks additional requests.
You can change limits anytime from Platform → Limits. Click Save to proceed.
5. Add Payment Method
Step 4 collects a payment method via Stripe. A new browser tab opens to the Stripe Checkout form where you can add a credit card or use Link.
- Free tier note — a "no charge" disclaimer explains that adding a card is required but no amount is charged unless you upgrade or exceed free-tier limits.
- Existing card detection — if your Stripe customer record already has a payment method (e.g., from a previous account), the system detects it and lets you skip this step.
- Auto-detection — after completing the Stripe form, the onboarding page polls for confirmation and automatically advances to the next step.
6. Customize Map Style (Optional)
The final onboarding step lets you configure your default map display preset. You can:
- Choose a color palette (
DAY,DUSK, orNIGHT) - Set the display mode (
Base,Standard, orAll) - Configure nav-aid, sounding, and label visibility
This step is optional — click Skip to use the default style. You can create and edit styles anytime from Platform → Map Styles.
What Happens After Onboarding
After completing onboarding, you land on the Platform Overview page. A Getting Started Checklist guides you through the next steps:
- Create your first API key — see § Creating an API Key below.
- Test a tile request — verify your key works with a curl command.
- Add a map style — configure portrayal rules for your use case.
- Invite a team member — collaborate with your team.
- Make your first API call — integrate tiles or features into your app.
Each step can be completed or skipped. The checklist is persisted in your browser so you can return to it later.
Creating a Map Style
Map Styles are display presets that control how nautical chart data is rendered. They follow the S-52 portrayal specification and let you configure color palettes, layer visibility, nav-aid rendering, sounding display, and more.
Steps
- Navigate to
Platform → Map Stylesand click New Style. - Name — Give your style a descriptive name (e.g. "Day Navigation", "Night Bridge Display").
- Color Tables — Enable one or more S-52 color palettes:
DAY,DUSK, orNIGHT. Set one as the default. End-users can switch between enabled palettes at runtime. - Display Mode — Choose from
Base(minimal),Standard(recommended), orAll(every feature visible). - Navigation Aids — Toggle visibility of buoys, beacons, lights, fog signals, and radar reflectors. Adjust icon scale and overlap behavior.
- Soundings & Labels — Control depth sounding visibility, text scale, and label rendering for land features, structures, and depth contours.
- Water Bodies — Toggle rivers, canals, lakes, and sea areas. Enable uppercase formatting for sea area labels.
- Layers — Use the Layers tab to turn individual S-57 object classes on or off. Groups (Depths, Navigation Aids, Hazards, etc.) support bulk "All" / "None" toggling.
- Click Save Style. The live preview on the right updates in real-time as you change settings.
Creating an API Key
API keys authenticate your application against CHRT's tile and feature endpoints. Each key is scoped to a team, coverage region, and optional map style. For full details on key format, scopes, and security, see the Authentication docs.
Steps
- Navigate to
Platform → API Keysand click Create key. - Name — A label for your reference (e.g. "Production App", "Dev Testing").
- Note / Description — An optional free-text field for internal documentation (e.g. "Used by the mobile app v2 release").
- Type — Choose
Public (pk)for client-side use orSecret (sk)for server-side use. Secret keys should never be exposed in client code. - Environment —
Testkeys hit a sandboxed endpoint;Livekeys serve production traffic. - Coverage Region — Select the country or region this key should serve data for. Only regions with active coverage are shown.
- Map Style — Assign a map style to this key. When users request tiles with this key, the specified style's portrayal rules are applied. Select "None" to use the team default.
- Scopes — Grant fine-grained permissions. Defaults include
tiles:read,features:read, andcells:read. - Restrictions (optional) — Set Allowed domains to the hostnames your app runs on (
example.com— subdomains included) so the key won't work from a browser on a site you don't control. For a server-side key, set IP allowlist to the addresses your servers call from; a key with one works only throughhttps://api.chrt.co. See Authentication. - Usage Limits (optional) — Set per-key monthly caps for tile serves and feature calls.
- Click Generate key. A secret (
sk) key is shown only once — copy it immediately. A publishable (pk) key can be revealed again later from the keys list.
Connecting a Style to an API Key
Each API key has an optional map_style_id field that links it to a specific Map Style. The served style endpoint (GET https://tiles.chrt.co/v1/styles/{region}/style.json — chrt.styleUrl() / chrt.fetchStyle() in the SDK) applies that style's settings server-side to every map rendered with the key. Custom styles are available on Dev plans and above; every tier gets the default day/dusk/night themes, and a bound style on a Free plan falls back to the defaults (the mint response reports style_applied: false with style_reason: "plan_gated").
From the Map Styles page
Each style card shows a badge indicating how many API keys are assigned. Click the badge to see the list and use Create key to generate a new key pre-assigned to that style.
From the API Keys page
When creating or editing a key, use the Map Style dropdown to assign or change the linked style.
Using Your Key
Once you have an API key, the fastest way to integrate is with the official SDK:
Official SDK (recommended)
npm install @chrtco/sdkimport { Chrt } from '@chrtco/sdk';
import maplibregl from 'maplibre-gl';
const chrt = new Chrt('YOUR_API_KEY');
const map = new maplibregl.Map({
container: 'map',
style: chrt.style({ palette: 'DAY' }), // S-52 nautical style
center: [-70.86, 42.02],
zoom: 12,
transformRequest: chrt.transformRequest(), // mints + attaches the tile token
});See the full SDK reference for features, spatial queries, cells, and more.
Direct HTTP (no SDK)
Tiles live at tiles.chrt.co and are gated by a short-lived JWT you mint from your key. Mint a token, then request tiles with it as a Bearer header. See the Vector Tiles reference for the full contract and styling.
# 1. Mint a tile token
curl -X POST "https://api.chrt.co/v1/mint/tile-token" \
-H "x-api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{ "region": "NOAA_ENC" }'
# → { "token": "<jwt>", "expires_at": ..., "region": "NOAA_ENC" }
# 2. Request a tile with the token
curl "https://tiles.chrt.co/v1/tiles/NOAA_ENC/10/301/384.mvt" \
-H "Authorization: Bearer <jwt>"
# Expect: HTTP/2 200 with content-type: application/x-protobufVerify your key with curl
The Feature API authenticates with your key directly — the simplest "does my key work?" check:
curl "https://api.chrt.co/v1/features?bbox=-71,42,-70,43&layer=DEPARE&limit=1" \
-H "x-api-key: YOUR_API_KEY"
# Expect: HTTP/2 200 with a GeoJSON FeatureCollectionNext Steps
- Read the Vector Tiles reference for full endpoint documentation.
- Explore the Feature API for querying individual chart features.
- Check Spatial Queries for bbox and radius-based lookups.
- Learn about Usage & Billing to monitor your consumption.
- Set up Team Management to collaborate with your team.
- Review Account & Security for MFA and password management.
For situational awareness only — not for primary navigation. CHRT is not an ECDIS and is not SOLAS-compliant.