Welcome to the practical guides for the @blocklet/js-sdk. This section is designed to get you up and running with common tasks quickly. Each guide provides step-by-step instructions and code examples to help you integrate key features like making secure API calls, handling user authentication, and managing sessions in your Blocklet application.
These guides focus on real-world use cases to help you build robust features with confidence.
Making API Requests
Learn how to use the built-in `createAxios` and `createFetch` helpers for making authenticated and auto-renewing API calls to Blocklet services.
Authentication
Understand how the SDK handles session tokens automatically and how to manage user profiles, privacy, and logout actions with `AuthService`.
Managing User Sessions
Discover how to fetch and manage a user's login sessions across different devices and applications using the `UserSessionService`.
Next Steps
After reviewing the guides for the tasks you need to accomplish, you may want to dive deeper into the complete API Reference for a detailed breakdown of every class, method, and type available in the SDK.