Skip to main content

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-client

Node.js Services

@smarterservices/iam-node

React Applications

@smarterservices/iam-react

Vue.js Applications

@smarterservices/iam-vue

2. 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

Timeouts and Retries

Next Steps

Now that you have IAM working in your application, explore these advanced topics:

📚 Learn Core Concepts

🎯 Advanced Features

🛠️ 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

  1. Invalid Token: Ensure your authentication token is valid and not expired
  2. Wrong Resource Format: Verify SSRN format: ssrn:service:partition::account:resource
  3. Network Issues: Check connectivity to IAM service
  4. 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.