Quick Start Guide
Get started with the SmarterServices IAM system in just a few steps. This guide will have you checking permissions in your application within minutes.1. Choose Your Client Library
Select the appropriate client library for your platform:Web Applications
@smarterservices/iam-clientNode.js Services
@smarterservices/iam-nodeReact Applications
@smarterservices/iam-reactVue.js Applications
@smarterservices/iam-vue2. Install the Library
3. Initialize the Client
Web/JavaScript
React
Node.js
4. Check Permissions
Basic Permission Check
React Component Protection
Multiple Permission Checks
5. Common Examples
Student Access
Instructor Access
Proctor Access
Admin Access
6. Error Handling
Always handle errors gracefully:7. Configuration Options
Caching (Recommended)
Timeouts and Retries
Next Steps
Now that you have IAM working in your application, explore these advanced topics:📚 Learn Core Concepts
- Resources (SSRN) - Understanding resource naming
- Actions - Action patterns and wildcards
- Policies - Policy structure and examples
🎯 Advanced Features
- Conditions - Conditional access controls
- Client Libraries - Platform-specific integrations
🛠️ Implementation
- Implementation Guide - Production deployment
- Server middleware and framework integration
- Performance optimization and monitoring
Common Patterns
Resource String Building
Permission Caching
Bulk Permission Loading
Troubleshooting
Common Issues
- Invalid Token: Ensure your authentication token is valid and not expired
- Wrong Resource Format: Verify SSRN format:
ssrn:service:partition::account:resource - Network Issues: Check connectivity to IAM service
- Cache Issues: Clear cache if permissions seem outdated
Debug Mode
Health Check
🎉 Congratulations! You now have IAM integrated into your application. For more advanced features and production deployment guidance, continue with the Implementation Guide.
