Skip to main content

Recommended: JavaScript SDK with React Hooks

For new React apps, we recommend the JavaScript SDK with React Hooks (@dynamic-labs-sdk/react-hooks) instead of the legacy React SDK documented here. The JS SDK comes with many benefits such as a much smaller bundle size and other optimizations. Use the React quickstart (JavaScript SDK) to get started.
Get started with Dynamic’s React SDK to add embedded wallets, multi-chain support, and flexible authentication (email, social login, passkeys) to your app in just a few lines.
Before you start: You’ll need Node.js 18+ and a Dynamic environment ID from the Dynamic dashboard.
Add the Dynamic docs MCP to your AI editor first — your agent can then query the docs directly.
New React app? Use the agent prompt on the React quickstart (JavaScript SDK) instead. Dynamic recommends the JavaScript SDK with React Hooks (@dynamic-labs-sdk/react-hooks) over the React SDK on this page.
Copy this prompt into your LLM only if the project already uses or explicitly requires the React SDK (@dynamic-labs/sdk-react-core).
Last modified on July 6, 2026