The environment ID is the key used for our platform to identify your SDK and
associate the users to your project environment. Each project has 2 keys, one
for Sandbox and one for Live. Whenever you want to setup a new instance of the
SDK, you simply need to copy the Environment ID and copy it into the settings
prop in the SDK.
TypeScript
Copy
Ask AI
import { DynamicContextProvider, DynamicWidget,} from "@dynamic-labs/sdk-react-core";const App = () => ( <DynamicContextProvider settings={{ environmentId: "Enter your Environment ID here", }} > <DynamicWidget /> </DynamicContextProvider>);export default App;
The public key is what you can use to validate the JWT is authentic on your
backend. We recommend that you follow
this guide to properly validate your
users and ensure that users are using authenticated JWT’s.