This library provides a node for interacting with the Firecrawl API. Firecrawl is a popular service that provides web scraping and crawling capabilities. Learn more at firecrawl.dev.
- Crawl and scrape a single website to a configurable depth
- Output markdown for use by agents or other downstream nodes
- Clone this repository into your Griptape Nodes workspace directory:
# Navigate to your workspace directory
cd $(gtn config | grep workspace_directory | cut -d'"' -f4)
# Clone the repository
git clone https://github.com/griptape-ai/griptape-nodes-library-firecrawl.git
- Install dependencies
cd griptape-nodes-library-firecrawl
uv sync
You will need a Firecrawl API key to use this node.
- Visit firecrawl.dev
- Sign up for Firecrawl
- Select API Keys in the left navigation menu, or visit https://www.firecrawl.dev/app/api-keys
- Create a new key with the + Create API Key button
- Name your key and copy your credential using the clipboard icon next to the partially obscufacted API key in the API Key column
Configure your API key through the Griptape Nodes IDE:
- Open the Settings menu.
- Navigate to the API Keys & Secrets panel.
- Click + Add Secret in the top right. Enter
FIRECRAWL_API_KEY
as the name of the new secret. - Paste the Firecrawl API key that you copied earlier into the new field named
FIRECRAWL_API_KEY
.
If you haven't already installed your Griptape Nodes engine, follow the installation steps HERE. After you've completed those and you have your engine up and running:
- Navigate to Engine Settings in the Griptape Nodes Settings Menu
- Add the complete path to the
griptape_nodes_library.json
file within thisgriptape-nodes-library-firecrawl/griptape_nodes_library_firecrawl
directory to the empty field at the bottom of the Libraries To Register section. - Exit out of settings. The new path will save automatically
- Refresh the libraries in your editor by clicking Refresh Libraries at the bottom of the left hand Nodes panel.
- You should see the Firecrawl category appear in the Nodes panel. Expand this category to see the Firecrawl node and drag the node onto the edit canvas to create an instance of this node.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.