Get Started
Quickstart
Set up and run your first Vern task in under 5 minutes
This guide will walk you through the essential steps to get started with Vern.
1. Create a Task in the UI
Tasks define the specific actions Vern can perform within a browser.
- Navigate to the Tasks page in the Vern dashboard.
- Click “New Task” and define the browser actions you want to automate.
- Configure the necessary inputs (e.g., search terms, form fields) and how Vern should interact with websites to complete the task.
- Once created, note down the Task ID displayed for your new task.
2. Install the SDK
3. Initialize the SDK
Import and initialize the Vern SDK with your API key:
4. Run a Task
You can run a task using the explicit runs.create
method:
5. Poll for Run Completion
You can poll for the run to complete using a helper function:
Example of a completed run response:
Next Steps
You’ve successfully defined a task and executed a run!
Explore the documentation further to learn about:
- Creating more complex browser automation tasks
- Setting up advanced configurations
- Error handling and debugging
- Integrating Vern with your application workflow