Telegram Mini Apps (or TMAs) are web applications that run inside the Telegram messenger.Dynamic works out of the box with TMAs, all you need to do is get your app scaffolded, and add Dynamic by following the quickstart guide.
You can see a live example of a Dynamic integration in a TMA when using Flooz.
Make sure that you’ve also added the correct imports and the variable for your Dynamic environment ID:
Copy
Ask AI
import { DynamicContextProvider } from '@dynamic-labs/sdk-react-core';import { EthereumWalletConnectors } from '@dynamic-labs/ethereum';const dynEnv = import.meta.env.VITE_DYNAMIC_ENV_ID || process.env.DYNAMIC_ENV_ID;
That’s it! You should now be able to use Dynamic in your Telegram Mini App..You can customize the integration further by following the documentation in the generated project README file.If you have any questions or need help with the integration, feel free to reach out to us in Slack.