Configure is ready
Paste this to your coding agent.
Cursor, Claude Code, Windsurf — they read configure.dev/skill.md and wire Configure into your app. You don't write boilerplate.
Prompt for your coding agent
Read configure.dev/skill.md and follow the instructions to join Configure. My .env already has CONFIGURE_API_KEY, CONFIGURE_PUBLISHABLE_KEY, and CONFIGURE_AGENT — use them. Do not re-run setup.
Your keys
No keys yet.
Install Configure
Run this in your project root before pasting the prompt. The coding agent will pick up from there.
npm install configure
1Install
npm install configure
2Authenticate users in the browser
Drop in the hosted iframe. It handles phone OTP and fires configure:authenticated with { token, userId }.
<script src="https://configure.dev/js/configure.js"></script>
<div id="configure-auth"></div>
<script>
Configure.auth({
el: '#configure-auth',
publishableKey: 'pk_your_publishable_key',
agent: 'your-agent'
});
document.addEventListener('configure:authenticated', (e) => {
const { token, userId } = e.detail;
// Send token + userId to your backend
});
</script>
3Use the profile server-side
Pass token + userId into your LLM system prompt.
import { ConfigureClient, CONFIGURE_TOOLS } from 'configure';
const client = new ConfigureClient();
const profile = await client.profile.get(token, userId);
const context = profile.format();
const systemPrompt = `You are my agent.\n\n${context}`;
// Pass CONFIGURE_TOOLS to your LLM for function calling