This guide takes you from nothing to a finished document. You need an Incipit account and Node 20 or newer. Everything else is installed along the way.
Install the SDK
Add the package to your project. It ships with TypeScript types and has no native dependencies, so it runs the same on your laptop and in CI. Run npm install @incipit/sdk in your project folder.
Create an API key
Open the dashboard, go to Settings, then API keys. Create a key with the Render scope and copy it somewhere safe. You only see the full key once.
Store the key in an environment variable named INCIPIT_API_KEY.
Never commit the key to your repository.
Use a separate key for each environment.
Render your first document
Call the render method with a template ID and a data object. Incipit returns a signed URL that stays valid for 24 hours. Most documents finish in under two seconds.
What to read next
Once the first render works, look at how variables are passed into a template, then set up a webhook so your app knows when large batches finish.