Onboard a new developer to your API on their first day
The first day of a new developer usually goes like this: a laptop, a wiki page last updated two years ago, and a Slack thread asking "does anyone have a staging token?". By the evening they have sent one request, with a token borrowed from someone's terminal.
With the API in a shared collection, the same day can end with them running the whole test suite.
Before they start
Access. Invite them to the organization and to the workspaces they need, with the right role. A developer usually needs Editor in the team workspace and nothing in production. See roles and permissions.
Environments. Go through Local and Staging and check every variable a request needs has a value, or a clear note on how to get one. Shared secret values come with the environment; nobody needs to paste them in chat.
Personal credentials. If each developer needs their own test account or token, write down where they get it: a sign-up request in the collection, an admin endpoint, or a person.
The Overview page
Every collection has an Overview with Markdown docs. Make it the onboarding page for that API:
## Start here
1. Pick the **Staging** environment (top right).
2. Run **Auth/Log in as test user**. It saves `accessToken` for you.
3. Run **Orders/List orders**. You should see three orders.
4. Run the whole collection: **Run** on the collection. Everything should pass.
Owner: #payments-team · Staging resets every night at 02:00 UTC.Four steps that work beat forty that don't. Test the page yourself in a fresh account before the new person arrives.
Day one, hour by hour
Hour 1: the app. Install the desktop app (or open the web app), sign in, open the collection. Read the Overview together.
Hour 2: one request. Let them send the login request and one read request themselves. Look at the response, the Tests tab and the Docs tab of the request. Show them where {{baseUrl}} comes from by hovering it.
Hour 3: change something. Have them duplicate a request, change a parameter, and add one test. Small, real, and theirs.
Hour 4: run everything. Run the collection or the team's smoke suite. Now they've seen what "green" looks like, and what CI checks.
Afternoon: the terminal. Install the CLI and run the same collection from their machine:
npm install -g @requestarium/cli
requestarium login
requestarium run-collection "Orders API" --env StagingIf they work in VS Code or JetBrains, show them the IDE plugin too, so the collection is next to the code.
Day two and later
- Pair on the first change to an endpoint, including the request and tests that go with it.
- Point them to the run history of the collection, so they know where to look when CI fails. See API test run history.
- Ask them what was missing from the Overview, and let them fix it. The newest person is the best reviewer of onboarding docs.
When they leave
Onboarding has a mirror image. When someone leaves, remove them from the organization, and rotate any shared secret they could read. See remove a member who left the team.