Set up with an agent
Install the Loops API skill, then ask your agent to add the SDK, create a contact, and send a test event.
Set up Loops in my app
Verify the smallest path first
- Install the API skill
npx skills add loops-so/skills --global --skill loops-api - Detect the frameworkNext.js, from
package.json - Add the SDK or RESTOfficial SDK fits this stack:
npm install loops - Create one contact
updateContactreturnedsuccess: true - Send one event
signupreturnedsuccess: true - Ready for transactional sendsThe baseline works. Send by
transactionalIdnext.
API keys and sending domains stay in the Loops dashboard
What your agent sets up
Start with the smallest path that proves the integration works.
Next.jsDetected
TypeScriptDetected
loops (JavaScript SDK)Added
Detects your stack
Reads your project and picks the official SDK or plain REST.
# .env.local
LOOPS_API_KEY=••••••••••••
Wires your API key
Reads LOOPS_API_KEY from your environment, never from code.
SRSam Riverasource: signupcreated
Creates one contact
Creates or updates a single contact before anything else.
events/send200 OK
{ "success": true }Sends one event
Then a test event, and only then transactional sends.