How to Use Browser Use with Novita AI
Prerequisites
- Python 3.11 or higher
- A Novita AI API key
Installation
Step 1: Install Browser Use using pip:Obtaining Novita AI LLM API Key
- Create an account: Visit Novita AI’s website and sign up for an account.
-
Generate your API Key: After logging in, navigate to the Key Management page to generate your API key. This key is essential to connect Novita AI’s models to Cursor.
Environment Setup
Create a.env
file in your project root and add your Novita API key:
Basic Implementation
- Here’s a complete example of using Browser Use with Novita AI’s API:
Creating Your Own Tasks
- You can customize the
task
parameter to perform a wide variety of web tasks:
- For more complex tasks, you might want to enable vision capabilities: