How to take website screenshots in ASCN.AI with ScreenshotOne
ASCN.AI is a platform for building and running AI agents for business tasks. With ScreenshotOne, your agents can capture websites as images or PDFs for monitoring, research, and reports.
1. Get a ScreenshotOne API key
Section titled “1. Get a ScreenshotOne API key”Sign up for ScreenshotOne and copy your API key from the access page.
2. Store the key in ASCN.AI
Section titled “2. Store the key in ASCN.AI”- Open Settings → Secrets and keys.
- Click + Add secret.
- Enter
SCREENSHOTONE_ACCESS_KEYas the name and your API key as the value. - Save the secret.
The agent can then read the key as an environment variable. See ASCN.AI’s secrets guide for details.
3. Teach your agent a screenshot skill
Section titled “3. Teach your agent a screenshot skill”Open a chat with your agent and send this prompt:
Create a skill called "website-screenshot". When I ask for a screenshot of awebsite, send a GET request to https://api.screenshotone.com/take with theseURL-encoded query parameters:
- url: the website URL- access_key: the value of the SCREENSHOTONE_ACCESS_KEY environment variable- format: png- full_page: true when I ask for the full page- block_cookie_banners: true- block_ads: true
The response body is the image. Save it to a file and show it to me. If theresponse is an error, show me the error message. Never print the access key.The skill appears in Brain → Skills → My skills, where you can review and edit it. See ASCN.AI’s skills guide for details.
4. Take your first screenshot
Section titled “4. Take your first screenshot”Ask your agent:
Take a full-page screenshot of https://example.comCheck that the agent returns the image. You can then use the skill in a scheduled task:
Every Monday at 9:00, take full-page screenshots of https://example.com andhttps://example.com/pricing, compare them with last week's screenshots, andsend me a summary of what changed.See the API reference for viewport sizes, PDF output, waiting for page content, and other options you can add to the skill.
Connect through MCP instead
Section titled “Connect through MCP instead”ASCN.AI also lets you add a custom MCP server in Brain → Integrations. ScreenshotOne’s hosted MCP server is at https://mcp.screenshotone.com. It uses Streamable HTTP and OAuth, and ASCN.AI’s documentation doesn’t list which transports and authentication methods custom servers support, so use the API key setup above if the connection fails.
Need help?
Section titled “Need help?”Reach out to us at support@screenshotone.com if you have any questions or need help with the integration.