Follow these steps to go from a brand-new account to your first NPC conversation.
In-app setup
1
Create a game
Sign in at
app.npcbuilder.com and click Add new project
Then access the game and copy the generated 

GAME_ID

2
Add a world
Inside the game, click Add World; fill name and lore.
Copy the
Copy the
WORLD_ID
.3
Add region & location
Open your world → Add Region(e.g. “Northern Kingdom”) →
inside that region, Add Location(e.g. “Capital City”).
inside that region, Add Location(e.g. “Capital City”).
4
Create a character
In the location, click Add Character→ fill name, description, role, traits, etc.
Save; note the
to use in the API.
Save; note the
character_id

5
Chat in dashboard
On the character page, open the Chattab and send a test message—confirm the NPC responds.
Generate credentials
1
Bearer token (quick)
Go to the developers section under graphics engine integration and generate Bearer Token
Use in header:

2
API keys (production)
Still in Developers, you can create an API Key.
Use in headers with combination of clientId and clientSecret (the generated api key):

Generated API Key secret must be stored securely. If you lose it, you must delete it and generate a new one. We can’t recover API Key secrets

Call the Interactions API
Expected JSON
Include previous user + NPC messages in
messages[]
on each call to keep context.