1
Install the SDK
Install the SampleApp.ai SDK package:
2
Configure Environment Variables
Create a Make sure to replace
.env.local file in your project root with your API key:your_api_key_here with your actual API key from the SampleApp.ai dashboard.3
Create the Sandbox Home Page
Create a new file at
app/sandbox/page.tsx (or pages/sandbox/index.tsx for Pages Router):4
Create the Dynamic Sandbox Page
Create a new file at
app/sandbox/[sandboxId]/page.tsx (or pages/sandbox/[sandboxId].tsx for Pages Router):Next Steps
View Examples
Explore example implementations.
Customization
Learn how to customize the appearance and behavior.
Need Help?
Discord
Get help from our team.
Connect with us.

