Quickstart
Get started with Plato - from setup to your first automated browser task
Generate your API key
Head to the Settings
tab on the Plato dashboard and copy your API key. Keep this secure - you’ll need it for all API requests.
Your API key provides access to your Plato environments. Never share it publicly or commit it to version control.
Install the SDK
Choose your preferred language and install the Plato SDK:
Python SDK requires Python 3.8+ and JavaScript SDK requires Node.js 16+
Set up your environment variables
Create a .env
file in your project root and add your API key:
The SDK will automatically load these environment variables.
Create your first environment
Let’s create a browser environment and connect to it:
Connect with browser automation
Now let’s connect to the environment and perform some browser automation:
The environment provides a real browser that persists state between operations. Perfect for complex workflows that require maintaining session data, cookies, and page state.
Load and run tasks
Plato provides pre-built tasks for various simulators. Here’s how to load and run them:
Integrate your own agent
Here’s how to integrate your own agent with a Plato environment:
Replace YourAgent
with your actual agent implementation. The CDP URL provides direct access to the browser for any automation framework.
Evaluate task completion
After running your automation, evaluate whether the task was completed successfully:
What’s Next?
Explore SDKs
Dive deeper into the Plato Client SDK and advanced environment management
Environment Types
Learn about different environment types and connection methods
API Reference
Complete API documentation for all endpoints and methods
Examples
Real-world examples and use cases for various automation scenarios
Need Help?
- Environment not starting? Check that your API key is valid and you have sufficient credits
- Browser connection issues? Ensure you’re calling
reset()
beforeget_cdp_url()
- Task evaluation failing? Review the task requirements and ensure your automation achieves the expected outcome
Use the live view URL to monitor your environment in real-time. This is invaluable for debugging and understanding how your automation is performing.