AgentQL JavaScript SDK Installation
Prerequisites
Installation
From your terminal, run the following command to install the AgentQL library:
1. Install AgentQL library
2. Install Playwright
The default version of AgentQL JavaScript SDK uses Playwright as a web driver, so Playwright dependencies need to be installed.
3. Set your AgentQL API Key
Set the AGENTQL_API_KEY
environment variable with your API key.
Run Your First AgentQL Script
Now you are ready to run your first AgentQL script! Continue to First Steps to get started.