Getting Started
Setup
Get started with FlagSync SDKs for your application.
Getting Started with SDKs
1
SDK Type
Choose client-side or server-side—e.g., web apps may need both for SSR.
2
Framework Support
FlagSync supports JavaScript in various forms:
Contact FlagSync Support for other languages.
3
Security
Use client-side SDK keys for web/mobile apps; keep server-side keys private to protect sensitive flag rules.
Initialization
- SDK initialization happens asynchronously—response time, usually 30-50 milliseconds, depends on flag count and ruleset complexity.
- Use a singleton pattern to avoid memory leaks—SDKs like Nest.js handle this automatically; others require manual setup.
Creating multiple instances can lead to memory leaks and orphaned connections.
Next Steps
Set up and explore FlagSync SDKs:
- Learn SDK differences in Types.
- Understand evaluation in Flag Evaluation.
- Start with Quickstart: SDK.