Setting Up Your EMQX Account
Welcome to your first setup step! Before we configure AWS or Stripe, we'll set up EMQX - the messaging system that will help your arcade cabinet communicate. Think of it like a super-fast mail service for your arcade!
What is EMQX? 
EMQX is a messaging system that will:
- Send messages when someone pays
- Tell games when to start
- Signal when games are over
- Handle all communication securely
Why Start with EMQX?
We're setting up EMQX first because:
- It's the quickest to set up
- We'll need it to test other components
- It helps you understand how the parts connect
- The free tier is perfect for learning
Before You Start 
You'll need:
- An email address
- About 10-15 minutes
- A way to save important information
Keep Notes
Create a document to save these important details:
- Broker URL
- Port numbers
- Username
- Password
Setting Up Your Account 
1. Create Your Account
- Visit https://accounts.emqx.com/signup
- Enter your email address
- Create a strong password
- Verify your email
2. Create a Deployment
- Log into EMQX Cloud Console
- Click "Create Deployment"
- Choose "Serverless" (Free tier)
- Pick a name (like "ArcadeMessenger")
Free Tier Perfect for Learning
You get plenty for your arcade system:
- 1 million messages per month
- 1 GB traffic per month
- Multiple cabinet support
- No credit card required!
Essential Configuration 
1. Get Your Connection Details
After deployment is ready:
- Save your Broker URL
-
Note these Port Numbers:
-
8883 - For secure MQTT (we'll use this one)
- 1883 - For standard MQTT
- 8083 - For WebSocket
2. Set Up Authentication
- Go to "Authentication" in sidebar
- Click "Create"
-
Create and save:
-
Username (like "arcade-user")
- Strong password
Keep These Safe!
Save your credentials securely - you'll need them for AWS setup next!
Quick Test 
Let's make sure everything works! We'll use the Mosquitto CLI tool:
Don't worry if this test doesn't work yet!
We still need to set up security certificates. We'll do that during AWS setup.
Understanding the Free Tier 
Your free account includes:
- 1 million session minutes/month
- 1 GB traffic/month
- Messages up to 1 MB each
- 1000 message queue length
- 2-hour inactive session timeout
Perfect for Learning
These limits are way more than enough for:
- Learning the system
- Testing your cabinet
- Initial deployment
What You've Accomplished 
You've now got:
- โ An EMQX Cloud account
- โ A serverless deployment
- โ Your broker URL and ports
- โ Authentication credentials
Next Steps 
Now that your messaging system is ready:
- Keep your credentials handy
- Double-check your broker URL
- Get ready to set up AWS!
Quick Troubleshooting 
Having issues?
Can't Create Account
- Check your email for verification
- Try a different browser
- Clear browser cache
Deployment Failed
- Make sure you selected "Serverless"
- Try a different region
- Check your email is verified
Need Help?
- Ask your teacher or mentor
- Check our Troubleshooting Guide
- Visit EMQX Docs