Markdown Editor

Quickstart Guide Template

Quickstart page: time-to-first-success target, prerequisites table, three steps with expected output, verify, clean-up, troubleshooting

Documentation & SupportStandardDiátaxis (tutorial and how-to types, adapted)CC BY-SA 4.0 (Diátaxis framework, attribution)quickstartmath

How to use: Use it to take a new user from nothing to a first working result in minutes. Fill the time target, prerequisites and expected output blocks first, then test with a first-time user. The main pitfall is offering several paths; pick one and link to the rest. a step that can't be checked isn't done.

Preview

Quickstart: [Reach first success with Product name]

Quickstart page: the shortest reliable path from nothing to a first working result, with a stated time target and an expected output after every step. It combines the learning focus of a Diátaxis tutorial with the brevity of a how-to guide. Credits the Diátaxis framework by Daniele Procida (CC BY-SA 4.0); the text is original. Replace every [bracketed] value and every passage marked Example. The worked example uses the fictional company Corvid Commerce.

Contents

Document control

FieldValue
Document ID[DOC-QS-001]
Version[1.0]
Status[Draft / In review / Published]
Owner[@owner]
Reviewers[@sme, @docs-reviewer]
Time-to-first-success target[10 minutes]
Measured median time[7 minutes, n = 5 first-time testers]
Tested with[Product version, runtime versions, operating systems]
Last testedYYYY-MM-DD
Classification[Public]

Revision history

VersionDateAuthorChange
1.02026-10-24[@owner]Updated to the standard template: prerequisites table, time target, expected output blocks, verify and clean-up steps, Diátaxis attribution

What you will do

In this quickstart you will [outcome]. It takes about [N] minutes. At the end you will have [tangible result].

Example: In this quickstart you will create your first order in the Corvid Commerce sandbox using curl. It takes about 10 minutes. At the end you will have a sandbox API key, a test order you can see in the dashboard, and a working request you can copy into your own code. Nothing you do here touches real shoppers or real payments.

Prerequisites

RequirementMinimumCheckExpected result
[Account][Plan or tier][Where to look][What the reader sees]
[Tool][Version][command][output]
Example: Corvid Commerce accountFree developer planSign in at the dashboardThe "Sandbox" badge is shown at the top
Example: curl7.68curl --versioncurl 7.68.0 or later
Example: jq (required, formats output)1.6jq --versionjq-1.6 or later
Example: Shellbash or zshps -p $$ -o comm=bash or zsh

Step 1: Get access

[Describe how to obtain access.]

Example: In the Corvid Commerce dashboard, open Developers, then API keys, and select Create sandbox key. Name it quickstart. The dashboard shows the key once:

ck_test_4f9a2c1e8b7d6a5f3e2d1c0b

Copy it. Sandbox keys always start with ck_test_. Never put a key in source code or a public repository.

Step 2: Configure your environment

[Describe the configuration.]

Example: Store the key in an environment variable for this terminal session:

export CORVID_API_KEY="ck_test_4f9a2c1e8b7d6a5f3e2d1c0b"
curl -s https://sandbox.api.corvid-commerce.example/v1/ping \
  -H "Authorization: Bearer $CORVID_API_KEY"

Expected output:

{"status":"ok","environment":"sandbox"}

If you see "environment":"live", stop: you used a live key. Revoke it and go back to step 1.

Step 3: Make your first request

[Describe the first real action.]

Example: Create an order for one item:

curl -s https://sandbox.api.corvid-commerce.example/v1/orders \
  -H "Authorization: Bearer $CORVID_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"items":[{"sku":"MUG-001","quantity":1}],"currency":"EUR"}' | jq

Expected output:

{
  "id": "ord_test_7Q2M",
  "status": "created",
  "total": {"amount": 1200, "currency": "EUR"},
  "items": [{"sku": "MUG-001", "quantity": 1}]
}

Note the id value. The total.amount is in minor units (cents), so 1200 means EUR 12.00.

Verify

[Describe an independent check.]

Example: Read the order back, using the id from step 3:

curl -s https://sandbox.api.corvid-commerce.example/v1/orders/ord_test_7Q2M \
  -H "Authorization: Bearer $CORVID_API_KEY" | jq '.status'

Expected output:

"created"

Then open Orders in the dashboard with the sandbox switch on. The order ord_test_7Q2M is at the top of the list. You have reached first success.

Clean up

[List clean-up actions.]

Example:

curl -s -X POST https://sandbox.api.corvid-commerce.example/v1/orders/ord_test_7Q2M/cancel \
  -H "Authorization: Bearer $CORVID_API_KEY" | jq '.status'
unset CORVID_API_KEY

Expected output:

"cancelled"

If you will not continue with the next steps today, revoke the quickstart key in Developers, API keys. Sandbox data is reset every 30 days, so you can keep the cancelled order.

Troubleshooting

SymptomCauseFix
[Error text][Cause][Fix]
Example: 401 invalid_api_keyThe variable is empty or the key was mistypedRun echo $CORVID_API_KEY; set it again from step 1
Example: 422 unknown_skuThe SKU does not exist in your sandboxUse MUG-001, which every sandbox includes
Example: command not found: uuidgenMinimal Linux imageReplace $(uuidgen) with $(cat /proc/sys/kernel/random/uuid)

Still stuck? [Support channel and what to include]. Example: post in the developer forum with the request ID from the X-Request-Id response header; never post your key.

Next steps

  • Build for real: [how-to]. Example: How to rotate a Corvid Commerce API key before going live.
  • Understand: [explanation]. Example: Understanding idempotency keys.
  • Look up: [reference]. Example: Orders API reference.
  • Related templates: Tutorial (writing/tutorial), How-To Guide (docs/how-to), SDK Overview (docs/sdk-overview), Installation Guide (docs/installation-guide), Troubleshooting Guide (docs/troubleshooting).

Standard and licence note

Structure aligned with the tutorial and how-to guide types of the Diátaxis framework by Daniele Procida (https://diataxis.fr), which is published under the Creative Commons Attribution-ShareAlike 4.0 International licence (https://creativecommons.org/licenses/by-sa/4.0/). The framework is credited here; a quickstart is not itself a Diátaxis type, and all text in this template is original with no Diátaxis wording reproduced. If you add material adapted from the Diátaxis pages themselves, that adapted material must carry attribution, indicate your changes and be shared under CC BY-SA 4.0 (the ShareAlike obligation); it does not become MIT. Check https://diataxis.fr for the current guidance. Corvid Commerce, its domains and keys are fictional. Template licence: MIT.

Related templates