APIs & Integrations - Anything
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Your app can connect to any external API. Describe what service you want to use and the agent creates a backend function that calls it from the cloud.
You can paste a link to the API’s documentation and Anything will usually figure out the rest. You can also ask it to search for the API docs itself.
How to connect an API
Describe what you need
Tell the agent what API you want to use and what it should do:I want to connect to a pet facts API to display random factsAdd Google Maps to show nearby restaurants with directionsIf you have the API docs, share the link so the agent can read them:
I want to use the Spotify API. Here's the documentation: https://developer.spotify.com/documentation/web-api Can you integrate this into my music app?Add your API key
If the API requires authentication, store your key in Project Settings > Saved Secrets.- Go to Project Settings > Saved Secrets
- Click Add a new secret
- Use the name the agent tells you (it needs to match exactly)
- Paste your API key
Not all APIs require keys. Many public APIs work without credentials.
Always use Saved Secrets for API keys. Never paste them directly into chat.
- Test it
Preview your app and check that the API calls work. If something breaks, describe the error and the agent will fix it.
Examples
Connect to the Exa API to search the web and display the top 5 results
Use the Google Maps API so users can see their location and find nearby places
Pull weather data from OpenWeatherMap and show a 5-day forecast
Connect to the HubSpot API to look up a company's deal history
Troubleshooting
If your API integration isn’t working:
- Check that your API key is correct and active in Saved Secrets
- Make sure you haven’t exceeded the API’s rate limits
- Verify you’re using the right endpoints (share the API docs with the agent if needed)
- Describe the error to the agent and it will help fix it