Developer Relations Engineer

Developer relations builds the path from a developer's first visit to a working app. A quickstart that works for 4 in 5 new developers instead of 2 in 5 does what doubling the traffic does.

Switch on one fix at a time and watch 10,000 monthly visitors flow down to active developers. Then switch on two. Then we build, piece by piece, the quickstart, the error message, the sample app, the metrics and the feedback loop behind each fix.

You need a little Python and percentages. We build the rest from zero.

Part of the Day in the Life series: what one role builds, and the skills it needs. Its measuring tools come from metric design, the metrics ladder and experiment design.

Fix the funnel

Illustrative toy. Base rates: 8% of visitors sign up. 40% of signups make a first successful call within 7 days. 50% of those are still active in week 4. The quickstart fix lifts 40% to 80%. Faster help lifts 50% to 70%.

Chapter 0

The Good API Nobody Integrates

Time a stranger's first ten minutes with your API, and find the job that removes the minutes

A startup ships a fast, clean API. Six months later, 47 developers use it. The docs are an auto-generated reference page. The first call fails with "400 Bad Request". Nobody on the team has tried the product as a stranger.

Developer relations (DevRel) is the engineering job that closes this gap. It has two lanes. Outbound, it builds what developers touch first: docs, quickstarts, SDKs, sample apps. Inbound, it carries what developers say back to the product team as ranked, counted problems.

The first number to watch is time to first call (TTFC): the minutes from "I want to try this" to the first successful response. Every minute of friction is a chance to quit.

Time a cold start

Each bar is one step of a new developer's first session. Switch on a fix and watch its bar shrink and the clock fall.

Illustrative minutes for one developer. Measure your own with the test below.

Work it with every fix off: 3 + 4 + 6 + 2 + 8 + 1 = 24 minutes. With all five on: 1 + 0.5 + 1 + 0.5 + 1 + 1 = 5 minutes. No step got smarter. Each fix removes a reason to stop.

The failure, and how to catch it

The road

  1. The developer funnel: why rates multiply, and which step to fix.
  2. Docs and the quickstart: four kinds of docs, and why fewer steps win.
  3. SDKs and error messages: the hero's "faster help", counted in tickets.
  4. Sample apps: why an untested sample stops working.
  5. Activation and retention: the numbers the hero's bars stand for.
  6. Did the change work? Lift, noise and a fair test.
  7. Feedback loops: from a noisy channel to a ranked list.
  8. The journey simulator: every knob at once, plus launch day.
  9. The field guide: terms, numbers, code and links.
An API has 3,000 signups and 120 developers who ever made a successful call. What should the team look at first?

Chapter 1

The Developer Funnel

Follow one group of developers through each step, and see why the step rates multiply

Take the developers who visit your docs this month. Some sign up. Some of those make a first successful call. Some of those still use the API four weeks later. Each step keeps a share of the step before. This chain is the developer funnel.

Name the parts. Call the visitors V and the share of them who sign up r1. Call the share of signups who make a first call within 7 days r2. Call the share of those still active in week 4 r3. The active developers are A.

Say it aloud

A equals V times r-one times r-two times r-three.

A
A active developers: still making calls in week 4.
V
V visitors to the docs in one month.
r1
r-one the share of visitors who sign up, from 0 to 1.
r2
r-two the share of signups who make a first successful call within 7 days.
r3
r-three the share of those first callers still active in week 4.
In plain words

Start with V visitors. Keep the share r-one, then the share r-two of what is left, then r-three. What remains is A.

With numbers

With made-up numbers: V = 10,000, r-one = 0.08, r-two = 0.40, r-three = 0.50. A = 10,000 × 0.08 × 0.40 × 0.50 = 160. Only 1.6% of visitors become active developers.

Drag the three step rates

Blue bars are developers left after each step. Raise one rate and every bar below it grows.

8%
40%
50%

Illustrative rates on 10,000 visitors.

Because the rates multiply, a step with a low rate holds the most room. Raise r-one by 10 points, from 8% to 18%, and A becomes 360. Raise every step by 10 points and A becomes 10,000 × 0.18 × 0.50 × 0.60 = 540.

The failure, and how to catch it

V = 20,000, r1 = 0.05, r2 = 0.30, r3 = 0.60. How many active developers?

Chapter 2

Docs That Get Used, and the Short Quickstart

Sort docs by the reader's need, and count why each extra quickstart step costs readers

A team documents every endpoint. Developers still call the docs bad. The docs answer "what exists" and never "how do I start". The Diátaxis framework, by Daniele Procida, splits docs into four kinds by what the reader needs.

KindThe reader wantsExample
Tutorialto learn by doing"Build a support chatbot"
How-to guideto solve one problem"Handle rate limits"
Referenceexact factsevery parameter of one endpoint
Explanationto understand why"How the API counts tokens"

The quickstart is the shortest tutorial: install, set the key, make one call, see the output. Why keep it short? Say each step works for a new developer with chance p, the steps fail on their own, and there are n steps. Call the chance to finish F.

Say it aloud

F equals p to the n.

F
F the share of new developers who finish the quickstart.
p
p the chance one step works first time, from 0 to 1.
n
to the n multiply p by itself once for each of the n steps.
In plain words

Each step keeps the share p of the developers who reached it. After n steps, multiply p by itself n times. That is F.

With numbers

With made-up numbers: n = 8 steps at p = 0.90 gives F = 0.43. Three steps at p = 0.95 gives F = 0.86. Fewer, clearer steps double the finishers.

Shorten the quickstart

Each column is a step. Blue is the developers still going; red is those who stopped at that step. Change the steps and their clarity.

8
0.90

Illustrative. Real steps do not fail on their own: one bad step (a wrong version) can stop everyone after it.

A snippet that worked last month can break after an SDK release. Docs as code stops that: the docs live in Git, and every code block is cut from a test file that runs in CI. When the API changes, the test fails before a reader does.

A quickstart has 6 steps, each working for 90% of new developers. About what share finish?

Chapter 3

SDKs and Error Messages

Wrap the raw API so the common case is one call, and write errors that fix themselves

The raw API says: send a POST with these headers and this JSON body. An SDK (software development kit) is a library that turns that into one function call. It handles the key, the JSON, the retries and the errors, so every developer does not write them again.

DecisionGood defaultWhy
API keyread it from an environment variablethe first call needs no edits
Retriesretry 429 and 5xx with growing waits429 means "too many requests, try later"; 400 never succeeds on retry
Typestyped response objectsthe editor shows the fields
Pagesan iterator over all resultsno cursor code by hand

Some developers hit an error in their first session. The message decides whether they fix it alone or file a support ticket. Call the new developers each week N, the share who hit an error h, and the share who fix it from the message alone f. Call the weekly tickets T.

Say it aloud

T equals N times h times one minus f.

T
T support tickets per week from first-session errors.
N
N new developers per week.
h
h the share who hit an error, from 0 to 1.
1 − f
one minus f the share who cannot fix it alone; f is the share who can.
In plain words

Take the N new developers. Keep the share h who hit an error. Of those, the share 1 − f who are stuck file tickets. That is T.

With numbers

With made-up numbers: N = 2,000 and h = 0.30. "400 Bad Request" lets f = 0.2 fix it, so T = 480. Name the field and the fix, f = 0.85, and T = 90.

Rewrite the error

Pick a message. The bar shows the weekly tickets it causes. Drag how often developers hit it.

30%

Illustrative: 2,000 new developers a week; we made up the fix-alone shares 0.2, 0.6 and 0.85 to show the shape.

The failure, and how to catch it

N = 1,000, h = 0.4. A rewrite lifts f from 0.25 to 0.75. How many weekly tickets does it remove?

Chapter 4

Sample Apps That Keep Working

Build a sample a stranger can run cold, then stop it from rotting month by month

A sample app is a small, complete program that shows the API doing one real job, such as a chatbot or a PDF summary. A cookbook is a set of short recipes, each solving one problem. Both must run for a stranger with three commands and no hidden setup.

PartWhat it holds
READMEwhat it does, the three commands, the output you should see
.env.exampleevery setting, each with a comment
Pinned versionsexact SDK and, for AI APIs, the exact model name
One testa fake API response, so the sample checks itself in CI

Why pin versions? Each month brings SDK releases. Say an unpinned sample breaks in a given month with chance b, and nobody runs it. Call the months since it last worked m, and the chance it still works S.

Say it aloud

S equals one minus b, to the m.

S
S the chance the sample still runs today.
1 − b
one minus b the chance one month passes without a break; b is the chance it breaks.
m
to the m once for each of the m months nobody checked.
In plain words

Each month the sample survives with chance 1 − b. Multiply that by itself for each of the m unchecked months. That is S.

With numbers

With made-up numbers: b = 0.15 and m = 12 gives S = 0.8512 = 0.14. Pinned, say b = 0.03, gives S = 0.69. A weekly CI run catches each break within days, so m stays near zero.

Watch a sample rot

Each cell is a month. Red marks a release that breaks the sample. Green is working, red fill is broken. Switch on pinning and a weekly CI run.

Illustrative: b = 0.15 unpinned, 0.03 pinned. With CI, a break is fixed in the same month.

An unpinned sample breaks with chance 0.10 a month. Nobody runs it for 6 months. About what is the chance it still works?

Chapter 5

Activation and Retention

Pick the event that means "this developer got value", then follow one cohort week by week

Page views and GitHub stars are easy to count and say little. The useful numbers follow developers. An activation event is the first action that shows real value. Here it is the first successful API call within 7 days of signup. The activation rate is the share of a cohort that reaches it.

Then ask who stays. Call the developers who signed up in one week the cohort, of size N0. Call the number of them who make at least one call in week w Aw. The week-w retention is Rw.

Say it aloud

R-w equals A-w divided by N-zero.

Rw
R-w week-w retention: the share of the cohort active in week w.
Aw
A-w cohort members with at least one call in week w.
N0
N-zero the cohort size: everyone who signed up that week.
In plain words

Fix the cohort at signup. In week w, count how many of those same people made a call. Divide by N-zero.

With numbers

With made-up numbers: N-zero = 800 signups, 320 activate, and A-4 = 160. Activation is 320 / 800 = 40%. R-4 = 160 / 800 = 20%.

Follow two cohorts

Grey is the cohort before the new quickstart, green the cohort after. Drag the week and read both.

4

Illustrative curves for two cohorts of 800. Week 0 counts activated developers.

For time to first call, report the median (the middle value), not the mean. Five developers take 4, 5, 6 and 7 minutes, and one comes back after 3 days (4,320 minutes). The mean is 868 minutes. The median is 6.

The failure, and how to catch it

A cohort of 500 signs up in week 0. In week 8, 75 of them make a call, plus 200 newer signups. What is week-8 retention?

Chapter 6

Did the Change Work?

Split new signups between two quickstarts, then ask if the gap is bigger than the noise

You rewrote the quickstart and activation went up. Did the rewrite do it, or was it a good week? Run an A/B test: send each new signup at random to the old quickstart (A) or the new one (B). Random choice makes the two groups alike in every other way.

Call the activation rate in group A pA and in group B pB. The lift L is the gain as a share of A.

Say it aloud

L equals p-B minus p-A, divided by p-A.

L
L the lift: how much better B is, as a share of A.
pB
p-B activation rate with the new quickstart.
pA
p-A activation rate with the old quickstart.
/ pA
divided by p-A scale the gain by where A started.
In plain words

Subtract p-A from p-B to get the gain in points. Divide by p-A to get the gain as a share.

With numbers

With made-up numbers: p-A = 160 / 400 = 0.40 and p-B = 188 / 400 = 0.47. The gain is 7 points, and L = 0.07 / 0.40 = 17.5%.

Is 7 points real? Each rate wobbles by chance. Call the developers in each group nA and nB. The standard error SE is the typical size of that chance wobble in the gap.

Say it aloud

S-E equals the square root of: p-A times one minus p-A over n-A, plus p-B times one minus p-B over n-B.

SE
S-E the typical chance wobble of the gap p-B minus p-A.
√
the square root of turns squared wobble back into points.
pA(1 − pA) / nA
p-A times one minus p-A over n-A the squared wobble of group A's rate; more developers, less wobble.
pB(1 − pB) / nB
p-B times one minus p-B over n-B the same for group B.
In plain words

For each group, multiply its rate by one minus its rate, and divide by its size. Add the two. Take the square root. A gap more than about 2 SE from zero is unlikely to be chance alone.

With numbers

With the numbers above: 0.40 × 0.60 / 400 + 0.47 × 0.53 / 400 = 0.00122. SE = 0.035. The gap is 0.07, so 2.0 SE. The 95% range is 0.07 ± 1.96 × 0.035: 0.1 to 13.9 points. Real, but barely.

Grow the test

The dot is the measured gap. The bar is its 95% range. Grow the groups and watch the bar shrink past zero.

400
47%

p-A is fixed at 40%. The range is gap ± 1.96 SE, the usual normal approximation. Planning sample sizes is in experiment design.

With 100 developers per group, p-A = 0.40 and p-B = 0.47, SE is about 0.07. What should you conclude?

Chapter 7

Feedback Loops

Turn scattered complaints into a ranked list the product team acts on, then tell the reporters

Feedback arrives in a forum, GitHub issues, support tickets and talks after a meetup. Most of it is vague: "auth is broken". The inbound lane turns it into product work in five steps.

  1. Capture every report in one tracker, tagged by source and product area.
  2. Sort each into bug, friction or missing feature.
  3. Count how many developers hit it, and restate it as a precise problem.
  4. Rank the list and present the top five each week.
  5. Close the loop: when a fix ships, tell every developer who reported it.

To rank, the RICE score from Intercom works well. Call the developers it affects per quarter the reach R. Call the effect on each the impact I: 3 massive, 2 high, 1 medium, 0.5 low, 0.25 minimal. Call how sure you are the confidence C: 100%, 80% or 50%. Call the person-months of work the effort E.

Say it aloud

The score equals R times I times C, divided by E.

score
score value per person-month of work; higher goes first.
R
R reach: developers affected per quarter.
I
I impact on each developer, from 0.25 to 3.
C
C confidence in R and I, as a share.
/ E
divided by E effort in person-months; big jobs need more value.
In plain words

Multiply how many developers it touches, how much it helps each, and how sure you are. Divide by the work. Sort by the result.

With numbers

With made-up numbers: streaming disconnects reach R = 900, I = 3, C = 0.8, E = 2. Score = 900 × 3 × 0.8 / 2 = 1,080. A missing pagination guide scores 600 × 1 × 1 / 0.5 = 1,200, so the small docs fix goes first.

Rank the feedback

Five items from one month. Pick how to rank them and watch the order change.

Illustrative items and numbers. The RICE scales are Intercom's (Sean McBride, 2018).

Community health uses the same counting. Jakob Nielsen's 90-9-1 rule says most members only read: about 90% read, 9% post now and then, 1% post most of the content. So track the answer rate, the share of questions that get a working answer, and the hours to that answer.

Item X: R = 2,000, I = 0.5, C = 0.8, E = 4. Item Y: R = 300, I = 2, C = 1, E = 0.5. Which goes first by RICE?

Chapter 8

The Journey Simulator, and Launch Day

Turn every knob from this lesson at once, and see which fix your funnel needs most

Here 1,000 new signups walk four stages. Each stage uses one chapter's knob. The quickstart keeps pn with p = 0.93. An error stops 30% of them, and the message and the help time decide who comes back. A broken sample loses half of those who meet it. Then 60% of the rest stay to week 4.

Run the journey

Set the knobs, then press Run. Dots flow through the stages; red dots leave. The read-out names the leakiest stage.

7
12 h

Illustrative model. Stay-after-waiting shares: 1 h 90%, 4 h 75%, 12 h 55%, 24 h 40%, 72 h 20%. Sample works: unpinned 14%, pinned 69%, with CI 97%.

Work the default: 0.937 = 0.60 finish, so 602 remain. Errors: 0.30 × 0.40 × 0.45 = 5.4% leave, so 569. The pinned sample works for 69%, and half of the rest leave, so 481. Week 4 keeps 60%: about 289 active developers.

Launch day

A new feature gets one first impression. The launch checklist makes every touchpoint ready before the announcement.

WhenReady
Two weeks beforereference, quickstart, how-to guide, migration guide if behaviour changes
One week beforeSDKs released with the feature, samples updated and green in CI
Day beforesupport briefed on likely questions; you ran the quickstart cold
Launch daychangelog entry, announcement post, someone watching the forum

A changelog groups changes as Added, Changed, Deprecated, Removed, Fixed and Security (the Keep a Changelog convention). A breaking change gets a migration guide with before-and-after code and a removal date.

In the simulator, quickstart steps drop from 7 to 3 with nothing else changed. Why is the gain so large?

Chapter 9

The Field Guide

Keep the terms, the numbers, the checklist and the code in one place

A DevRel engineer builds the path to a first call, keeps it working, and measures it on one cohort. The inbound lane turns what developers say into a ranked list. Every number on this page is illustrative; measure your own.

TermMeaningExample here
Time to first callminutes from "try it" to the first successful response24 min, then 5 min
FunnelA = V × r1 × r2 × r310,000 visitors, 160 active
Quickstart finishF = p to the n0.43 at 8 steps, 0.86 at 3
TicketsT = N × h × (1 − f)480, then 90 a week
Sample decayS = (1 − b) to the m0.14 after a year unpinned
RetentionR-w = A-w / N-zero, one cohort160 / 800 = 20%
Lift, SEgain over A; typical chance wobble17.5%; 2.0 SE
RICER × I × C / E1,200 beats 1,080

The rest of the outbound work

ArtifactJobMeasure
Talk or workshopshow one real build liveattendees who finish the build
Blog postsolve one problem, code in the first screensignups and first calls from the post
Partner integrationmeet developers in the tool they useactivations through the integration
Community programhelp the 1% who answer othersanswer rate, hours to answer

Checklist

The core, as code

pythonfrom statistics import median

def cohort_report(devs):
    # devs: list of dicts for ONE signup week:
    # {"first_call_min": float | None, "calls_by_week": list[int]}
    n0 = len(devs)
    ttfc = [d["first_call_min"] for d in devs if d["first_call_min"] is not None]
    activated = sum(1 for t in ttfc if t <= 7 * 24 * 60)
    week4 = sum(1 for d in devs if len(d["calls_by_week"]) > 4 and d["calls_by_week"][4] > 0)
    return {
        "activation_rate": activated / n0,
        "median_ttfc_min": median(ttfc) if ttfc else None,
        "week4_retention": week4 / n0,         # R_4 = A_4 / N_0
    }

def ab_gap(xa, na, xb, nb):
    pa, pb = xa / na, xb / nb
    se = (pa * (1 - pa) / na + pb * (1 - pb) / nb) ** 0.5
    gap = pb - pa
    return gap, (gap - 1.96 * se, gap + 1.96 * se)

def rice(reach, impact, confidence, effort):
    return reach * impact * confidence / effort

print(ab_gap(160, 400, 188, 400))   # (0.07, (0.0015, 0.1385)) after rounding
print(rice(600, 1, 1.0, 0.5))      # 1200.0

Keep going

The takeaway. Rates multiply, so the best fix is often a small one in the leakiest step, and only a fair test can tell you it worked.

Now press Present or Teach and explain the funnel from memory: the three rates, why they multiply, and how you would prove a fix worked. Then go back to the hero and say why the quickstart fix equals doubling traffic.

Developer Relations Engineer
Back to Gleams