Skip to content
GitHubXDiscord

Custom Resource

In Alchemy, a Resource is “just a function”. This makes it super easy to generate resources for your use-cases using Agentic IDEs like Cursor, Claude Code, Windsurf, etc.

To start generating resources, copy Alchemy’s .cursorrules into your repo

As an example, let’s show how easy it is to generate a resource for Neon’s famous serverless Database Resource.

It usually doesn’t take much to get 90% of the way there - a simple prompt with a link to the API docs is a good start:

Create a Resource for managing a Neon Database See: https://api-docs.neon.tech/reference/createprojectbranchdatabase

This will generate the Resource implementation and tests.

See the Resource Documentation for a comprehensive overview of a Resource.

See the Testing Documentation for a comprehensive overview of how to test your Resources.