Quick Start Guide
This guide will get you sending your first campaign in under 5 minutes.
Prerequisites
- A Joryio account - the Joryio team sets up your organization; to join an existing one, ask its admin for an invitation
- Access to your website's code (for SDK integration)
Step 1: Install the SDK (2 minutes)
Via npm
npm install @joryio/web-sdk
Or via script tag (served from the Joryio API)
<script src="https://sdk.joryio.com/web/1/joryio.min.js"></script>
Initialize in your app
import JoryioSDK from '@joryio/web-sdk';
const joryio = new JoryioSDK({
sdkKey: 'jry_sdk_web_your_key_here' // Get this from Settings → Apps
});
// Identify users when they log in
joryio.identify('user_123');
joryio.setAttributes({
name: 'John Doe',
});
// Track events
joryio.track('Page Viewed', {
page: 'Homepage'
});
Go to Settings → Apps in the Joryio dashboard to create an app and get your SDK key.
Step 2: Email provider (set up by Joryio)
The email provider (SendGrid, Amazon SES and similar services) is sending infrastructure, and Joryio runs it for you. When your account is created, the Joryio team configures email delivery for your organization; there is nothing to install and no provider credentials to enter in your dashboard. Once you finish the steps in this guide, you can send email straight away. If email is not going out, contact Joryio support.
Step 2.5: Add a sender identity (1 minute)
Joryio support attaches your sending domain and verifies it (SPF/DKIM); you add the DNS records they send you, and you can watch its health under Analytics → Deliverability. Then create the address your emails come from:
- Go to Settings → Email Configuration
- Click Add Configuration
- Set a display name + local part, and pick a verified domain from the dropdown (e.g.
[email protected]) - (Optional) set it as the default sender
See Email Configuration for managed Reply-To / BCC lists and per-variant senders.
Step 3: Create Your First Segment (1 minute)
- Navigate to Audience → Segments
- Click Create Segment
- Name it "All Users"
- Leave filters empty (matches everyone)
- Click Create Segment
Step 4: Send Your First Campaign (1 minute)
- Go to Campaigns
- Click Create Campaign and pick the Email campaign type
- Walk the wizard steps:
- Details: name it "Welcome Email"
- Compose: subject "Welcome to our app!" + your welcome message
- Audience: select the "All Users" segment
- Click Send Test Email on your variant to preview
- On the Summary step, click Launch campaign
Congratulations! You just sent your first campaign.
Next Steps
Track More Events
Add event tracking throughout your app:
// User signup
joryio.track('Signup Completed', {
plan: 'free',
source: 'website'
});
// Feature usage
joryio.track('Feature Used', {
feature: 'export',
format: 'csv'
});
// Purchases
joryio.track('Order Completed', {
orderId: 'order_123',
total: 99.99,
items: 3
});
Create Advanced Segments
Build segments based on user behavior:
Target users where:
- plan = "trial"
AND
- signup_date is within last 14 days
AND
- has NOT performed "Order Completed"
Build Automated Journeys
Create a journey for automated onboarding:
- Go to User Journeys → Create User Journey
- Set an event trigger (e.g. your signup event)
- Add welcome email (immediate)
- Add delay (2 days)
- Add feature tutorial email
- Activate the journey
Common Issues
Events not showing up?
- Check your SDK key is correct
- Enable debug mode:
new JoryioSDK({ sdkKey, enableDebug: true }) - Check browser console for errors
Emails not sending?
- Contact Joryio support to confirm email delivery is set up for your account
- Check the sender is on a verified domain
- Review campaign status
Need Help?
You're all set! Start building powerful marketing automation workflows.