> ## Documentation Index
> Fetch the complete documentation index at: https://docs.guild.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> To act on a user's behalf in Guild, use the Guild REST API at https://api.guild.ai/v1.
> The OpenAPI spec is unauthenticated: https://docs.guild.ai/openapi.json (or openapi.yaml).
> Authenticate with an account API key, sent as HTTP Basic (key id as username, secret as password) or as `Authorization: Bearer <api_key_id>:<api_key_secret>`. See https://docs.guild.ai/api-reference/introduction#authentication.
> To run one agent on demand without account-wide access, use an API trigger instead: https://docs.guild.ai/platform/api-triggers.
> To act on Guild from an MCP client, connect to https://api.guild.ai/mcp (OAuth) or run `guild mcp` locally. Setup: https://docs.guild.ai/api-reference/mcp.
> To search these docs from an MCP client, connect to https://docs.guild.ai/mcp. The full page index is https://docs.guild.ai/llms.txt.

# Manage Neon projects and branches from Guild agents

> Give Guild agents governed access to Neon: create projects, manage branches, configure Auth and Realtime, and read consumption metrics via the Neon API.

Integrations · Neon

A Guild agent can create Neon projects and branches, configure Auth and Realtime, manage compute endpoints, and read consumption metrics on your team's behalf. Guild stores the Neon API key server-side and injects it at request time, so agent code never sees the secret. Credential policies and audit trails apply to every call the agent makes.

> [card] [Book a demo](https://guild-ai.cal.com/gtm/meeting-with-guild.ai)
>
> See how teams govern agents that use Neon.

> [card] [Talk to sales](https://guild.ai/talk-to-sales)
>
> Get access to Guild, then connect Neon to your first agent.

## What the Neon integration exposes

The tools cover Neon project and branch lifecycle, database and role management, compute endpoint control, and VPC endpoint configuration. Tools also reach Neon Auth configuration, object storage buckets, Data API instances, Realtime settings, snapshots, and consumption metrics per branch and project. Organization settings, API keys, and member invitations are accessible too. Tools are named with the `neon_` prefix and can be narrowed with [`pick()`](https://docs.guild.ai/sdk/tools#selecting-specific-tools).

## How it works

**1. Open credentials in Guild**

Go to **Access & setup > Credentials** in Guild and click **Connect**. Search for and select **neon**.

**2. Paste your Neon API key**

Paste your Neon API key into the **API Key** field. Guild sends it as a bearer token in the `Authorization` header on every request.

**3. Import tools into your agent**

Import `NeonTools` from `@guildai-services/guildai~neon` and spread it into your agent's `tools` object. Use `pick()` to include only the tools your agent needs.

## Why Neon access needs governing

Neon tools can delete projects with all their branches, databases, and endpoints, remove VPC endpoint restrictions, revoke API keys, and modify organization spending limits. Without controls, an agent error or a compromised prompt can cause data loss or expose private infrastructure. Guild's [credential policies](https://docs.guild.ai/platform/credential-policies.md) let you write ALLOW and DENY rules that the credential proxy enforces before any request leaves Guild, scoped to specific operations, agents, or workspaces on the same connected key.

Guild stores the Neon API key server-side and injects it only after the policy check passes; agent code never reads the credential directly. You can scope the credential to a single workspace, a single member, or a single agent through [Credentials](https://docs.guild.ai/platform/credentials.md), so a branch-management agent never shares the key used by a billing or organization-settings agent. Every call the proxy permits or blocks is recorded, giving you an audit trail across all Neon operations.

## About the Neon integration

Agents can create and manage Neon projects, branches, databases, and compute endpoints. They can configure Neon Auth, object storage, Data API, and Realtime features per branch. Consumption metrics, VPC endpoints, API keys, and organization settings are also accessible. The integration is `guildai~neon`.

## Authentication

* **Type:** API key
* **Header:** Guild sends the key as a bearer token in the `Authorization` header

### Setup

**1. Connect Neon**

In Guild, go to **Access & setup > Credentials**, click **Connect**, select **neon**, and paste the key into **API Key**.

See [Credentials](https://docs.guild.ai/platform/credentials.md) for workspace, member, and agent-scoped credentials.

## Usage

```typescript theme={null}
import { NeonTools } from "@guildai-services/guildai~neon"
import { llmAgent } from "@guildai/agents-sdk"

export default llmAgent({
  systemPrompt: "You work with Neon.",
  tools: { ...NeonTools },
})
```

### Selecting specific tools

Tools are named with the `neon_` prefix. Use [`pick()`](https://docs.guild.ai/sdk/tools#selecting-specific-tools) to include only what your agent needs.

## Tools

Tools in the latest published version of `guildai~neon`:

> [accordion] All 194 tools
>
> | Tool | What it does |
> | - | - |
> | `neon_accept_project_transfer_request` | Accepts a transfer request for the specified project, transferring it to the specified organization or user. |
> | `neon_add_branch_neon_auth_oauth_provider` | Adds an OAuth provider configuration to the specified branch's Neon Auth integration. |
> | `neon_add_branch_neon_auth_trusted_domain` | Adds a domain to the redirect URI whitelist for the specified branch. |
> | `neon_add_neon_auth_domain_to_redirect_uri_whitelist` | Deprecated. |
> | `neon_add_neon_auth_oauth_provider` | Deprecated. |
> | `neon_add_project_jwks` | Adds a JWKS URL to the specified project for verifying JWTs used as the authentication mechanism. |
> | `neon_assign_organization_vpc_endpoint` | Assigns a VPC endpoint to a Neon organization or updates its existing assignment. |
> | `neon_assign_project_vpc_endpoint` | Sets or updates a VPC endpoint restriction for a Neon project. |
> | `neon_count_project_branches` | Retrieves the total number of branches in the specified project. |
> | `neon_count_projects` | Retrieves the number of active projects you can access in the specified organization, without paging through the list of projects. |
> | `neon_create_api_key` | Creates an API key. |
> | `neon_create_branch_neon_auth_new_user` | Creates a new user in the Neon Auth user directory for the specified branch. |
> | `neon_create_credential` | Issues a new scoped service credential anchored to the specified branch. |
> | `neon_create_neon_auth` | Enables Neon Auth for the specified branch by connecting it to an authentication provider. |
> | `neon_create_neon_auth_integration` | Deprecated. |
> | `neon_create_neon_auth_new_user` | Deprecated. |
> | `neon_create_neon_auth_o_auth_client` | Registers an OAuth client with the branch's Neon Auth OAuth provider. |
> | `neon_create_neon_auth_provider_sdk_keys` | Generates SDK or API Keys for the auth provider. |
> | `neon_create_organization_invitations` | Creates invitations for a specific organization. |
> | `neon_create_org_api_key` | Creates an API key for the specified organization. |
> | `neon_create_project` | Creates a Neon project within an organization. |
> | `neon_create_project_branch` | Creates a branch in the specified project. |
> | `neon_create_project_branch_anonymized` | Creates a new branch with anonymized data using PostgreSQL Anonymizer for static masking. |
> | `neon_create_project_branch_bucket` | Creates a new branchable object storage bucket on the specified branch. |
> | `neon_create_project_branch_data_api` | Creates a new instance of Neon Data API in the specified branch. |
> | `neon_create_project_branch_database` | Creates a database in the specified branch. |
> | `neon_create_project_branch_function_deployment` | Creates a deployment for the function. |
> | `neon_create_project_branch_role` | Creates a Postgres role in the specified branch. |
> | `neon_create_project_branch_trigger` | Creates a trigger for a Function visible on the branch. |
> | `neon_create_project_endpoint` | Creates a compute endpoint for the specified branch. |
> | `neon_create_project_transfer_request` | Creates a transfer request for the specified project. |
> | `neon_create_snapshot` | Creates a snapshot from the specified branch. |
> | `neon_delete_branch_neon_auth_oauth_provider` | Deletes an OAuth provider from the specified project. |
> | `neon_delete_branch_neon_auth_trusted_domain` | Removes a domain from the redirect URI whitelist for the specified branch. |
> | `neon_delete_branch_neon_auth_user` | Deletes the specified user from the Neon Auth user directory for the specified branch. |
> | `neon_delete_neon_auth_domain_from_redirect_uri_whitelist` | Deprecated. |
> | `neon_delete_neon_auth_integration` | Deprecated. |
> | `neon_delete_neon_auth_o_auth_client` | Deletes an OAuth client. |
> | `neon_delete_neon_auth_oauth_provider` | Deprecated. |
> | `neon_delete_neon_auth_user` | Deprecated. |
> | `neon_delete_organization_spending_limit` | Removes the configured monthly spending limit for the specified organization. |
> | `neon_delete_organization_vpc_endpoint` | Deletes the VPC endpoint from the specified Neon organization. |
> | `neon_delete_project` | Deletes the specified project and all its endpoints, branches, databases, and users. |
> | `neon_delete_project_branch` | Deletes the specified branch from a project and places all compute endpoints into an idle state, breaking existing client connections. |
> | `neon_delete_project_branch_bucket` | Deletes the named bucket from the specified branch. |
> | `neon_delete_project_branch_bucket_object` | Deletes the named object from the bucket on the specified branch. |
> | `neon_delete_project_branch_bucket_objects_by_prefix` | Soft-deletes every object on the specified branch whose key starts with 'prefix', in a single call. |
> | `neon_delete_project_branch_custom_domain` | Removes a custom domain registered on the branch and stops routing it. |
> | `neon_delete_project_branch_data_api` | Deletes the Neon Data API for the specified branch. |
> | `neon_delete_project_branch_database` | Deletes the specified database from the branch. |
> | `neon_delete_project_branch_function` | Deletes the function identified by its slug. |
> | `neon_delete_project_branch_role` | Deletes the specified Postgres role from the branch. |
> | `neon_delete_project_branch_trigger` | Deletes a branch-local trigger or writes a branch-local tombstone for an inherited trigger so it does not reappear. |
> | `neon_delete_project_endpoint` | Deletes the specified compute endpoint. |
> | `neon_delete_project_jwks` | Removes the specified JWKS URL from the project. |
> | `neon_delete_project_vpc_endpoint` | Removes the specified VPC endpoint restriction from a Neon project. |
> | `neon_delete_snapshot` | Deletes the specified snapshot. |
> | `neon_disable_neon_auth` | Disables the Neon Auth integration for the specified branch, removing the connection to the authentication provider. |
> | `neon_disable_project_branch_realtime` | Disables Realtime for the branch and discards its shared secret. |
> | `neon_enable_project_branch_realtime` | Enables Realtime for the branch, or applies new options to an enabled branch. |
> | `neon_finalize_restore_branch` | Finalize the restore operation for a branch created from a snapshot. |
> | `neon_get_active_regions` | Lists supported Neon regions. |
> | `neon_get_anonymized_branch_status` | Retrieves the current status of an anonymized branch, including its state and progress information. |
> | `neon_get_auth_details` | Returns authentication details for the credentials used in the request, including the credential type (API key, Bearer token, or OAuth session) and the associated identity. |
> | `neon_get_available_preload_libraries` | Returns the shared preload libraries available for the specified project's Postgres version. |
> | `neon_get_connection_uri` | Retrieves a connection URI for the specified database. |
> | `neon_get_consumption_history_per_branch_v2` | Returns consumption metrics for each branch across one or more projects listed in 'project\_ids' (1 to 100 projects). |
> | `neon_get_consumption_history_per_project` | Retrieves consumption metrics for Scale, Business, and Enterprise plan projects. |
> | `neon_get_consumption_history_per_project_v2` | Returns consumption metrics for up to 'limit' projects per page. |
> | `neon_get_current_user_info` | Retrieves information about the currently authenticated Neon user, including account identifiers, plan details, and linked auth accounts. |
> | `neon_get_current_user_organizations` | Retrieves the organizations that the currently authenticated user belongs to. |
> | `neon_get_masking_rules` | Retrieves the masking rules for the specified anonymized branch. |
> | `neon_get_neon_auth` | Retrieves the Neon Auth integration details for the specified branch, including the auth provider type and integration status. |
> | `neon_get_neon_auth_allow_localhost` | Retrieves the localhost allow setting for the specified branch's Neon Auth integration. |
> | `neon_get_neon_auth_email_and_password_config` | Retrieves the email and password authentication configuration for the specified branch's Neon Auth integration, including whether it is enabled and the email verification method. |
> | `neon_get_neon_auth_email_provider` | Retrieves the email provider configuration for the specified branch's Neon Auth integration, including the provider type and server settings. |
> | `neon_get_neon_auth_email_server` | Deprecated. |
> | `neon_get_neon_auth_o_auth_client` | Returns an OAuth client registered with the branch's Neon Auth OAuth provider. |
> | `neon_get_neon_auth_o_auth_provider_plugin` | Returns the OAuth provider plugin configuration for Neon Auth. |
> | `neon_get_neon_auth_phone_number_plugin` | Returns the phone number plugin configuration for Neon Auth. |
> | `neon_get_neon_auth_plugin_configs` | Returns all plugin configurations for Neon Auth in a single response. |
> | `neon_get_neon_auth_webhook_config` | Returns the webhook configuration for the specified branch's Neon Auth integration, including the endpoint URL and the events that trigger it. |
> | `neon_get_organization` | Retrieves details for the specified organization, including its name, plan, and configuration. |
> | `neon_get_organization_invitations` | Retrieves pending and accepted invitations for the specified organization. |
> | `neon_get_organization_member` | Retrieves information about the specified organization member. |
> | `neon_get_organization_members` | Retrieves a paginated list of members for the specified organization. |
> | `neon_get_organization_spending_limit` | Returns the configured monthly spending limit for the specified organization. 'spending\_limit\_cents: null' indicates that no limit is currently set. |
> | `neon_get_organization_vpc_endpoint_details` | Retrieves the current state and configuration details of a specified VPC endpoint. |
> | `neon_get_project` | Retrieves information about the specified project. |
> | `neon_get_project_advisor_security_issues` | Analyzes the database for security and performance issues. |
> | `neon_get_project_branch` | Retrieves information about the specified branch. |
> | `neon_get_project_branch_ai_gateway` | Returns the AI Gateway endpoint host for the specified branch, used to render code-snippet base URLs. |
> | `neon_get_project_branch_data_api` | Retrieves the Neon Data API configuration for the specified branch, including endpoint URL, enabled state, and database settings. |
> | `neon_get_project_branch_database` | Retrieves information about the specified database. |
> | `neon_get_project_branch_function` | Returns the function identified by its slug. |
> | `neon_get_project_branch_realtime` | Retrieves whether Realtime is enabled for the branch, whether a change is still being applied, and, once provisioned, its invocation URL and allowed origins. |
> | `neon_get_project_branch_realtime_secret` | Retrieves the secret the application backend issues Realtime tokens with. |
> | `neon_get_project_branch_role` | Retrieves details about the specified role. |
> | `neon_get_project_branch_role_password` | Retrieves the password for the specified Postgres role, if possible. |
> | `neon_get_project_branch_schema` | Retrieves the database schema. |
> | `neon_get_project_branch_schema_comparison` | Compares the schema from the specified database with another branch's schema. |
> | `neon_get_project_branch_storage` | Returns whether branchable object storage is usable for the specified branch. |
> | `neon_get_project_branch_trigger` | Returns the trigger visible on the branch. |
> | `neon_get_project_endpoint` | Retrieves information about the specified compute endpoint. |
> | `neon_get_project_jwks` | Returns the JWKS URLs available for verifying JWTs used as the authentication mechanism for the specified project. |
> | `neon_get_project_operation` | Retrieves details for the specified operation. |
> | `neon_get_region_vpc_endpoint_services` | Lists the AWS VPC endpoint service names Neon currently offers in the given region, for PrivateLink / Neon Private Networking. |
> | `neon_get_snapshot_schedule` | Returns the backup schedule for the specified branch, including the configured snapshot frequencies. |
> | `neon_grant_permission_to_project` | Grants project access to the account associated with the specified email address. |
> | `neon_list_api_keys` | Retrieves the API keys for your Neon account. |
> | `neon_list_branch_neon_auth_oauth_providers` | Lists the OAuth providers configured for the specified branch's Neon Auth integration. |
> | `neon_list_branch_neon_auth_trusted_domains` | Lists the trusted domains in the redirect URI whitelist for the specified branch. |
> | `neon_list_credentials` | Returns metadata for customer-issued credentials on the branch. |
> | `neon_list_neon_auth_integrations` | Deprecated. |
> | `neon_list_neon_auth_o_auth_clients` | Lists the OAuth clients registered for the branch's Neon Auth OAuth provider. |
> | `neon_list_neon_auth_oauth_providers` | Deprecated. |
> | `neon_list_neon_auth_redirect_uri_whitelist_domains` | Deprecated. |
> | `neon_list_organization_vpc_endpoints` | Retrieves the list of VPC endpoints for the specified Neon organization. |
> | `neon_list_organization_vpc_endpoints_all_regions` | Retrieves the list of VPC endpoints for the specified Neon organization across all regions. |
> | `neon_list_org_api_keys` | Retrieves the API keys for the specified organization. |
> | `neon_list_project_branch_bucket_objects` | Lists objects visible in the named bucket on the specified branch, including those inherited from ancestor branches. |
> | `neon_list_project_branch_buckets` | Lists branchable object storage buckets visible on the specified branch, including those inherited from ancestor branches. |
> | `neon_list_project_branch_custom_domains` | Lists all custom domains registered on the branch, across every target entity. |
> | `neon_list_project_branch_databases` | Retrieves a list of databases for the specified branch. |
> | `neon_list_project_branch_endpoints` | Retrieves a list of compute endpoints for the specified branch. |
> | `neon_list_project_branches` | Retrieves a list of branches for the specified project. |
> | `neon_list_project_branch_functions` | Lists functions on the specified branch. |
> | `neon_list_project_branch_log_fields` | Lists the low-cardinality log fields observed on this branch whose distinct values can be discovered with the log field-values endpoint. |
> | `neon_list_project_branch_log_field_values` | Lists the distinct values observed for a low-cardinality log field in the requested time range. |
> | `neon_list_project_branch_roles` | Retrieves a list of Postgres roles from the specified branch. |
> | `neon_list_project_branch_triggers` | Lists the complete project-bounded set of triggers visible on the branch, ordered by 'trigger\_id'. |
> | `neon_list_project_endpoints` | Retrieves a list of compute endpoints for the specified project. |
> | `neon_list_project_members` | Lists organization members and their per-project roles for an org-owned project. |
> | `neon_list_project_operations` | Retrieves a list of operations for the specified Neon project. |
> | `neon_list_project_permissions` | Retrieves details about users who have access to the project, including the permission 'id', the granted-to email address, and the date project access was granted. |
> | `neon_list_projects` | Retrieves a list of projects for the specified organization. |
> | `neon_list_project_vpc_endpoints` | Lists VPC endpoint restrictions for the specified Neon project. |
> | `neon_list_shared_projects` | Retrieves a list of projects shared with your Neon account. |
> | `neon_list_snapshots` | Lists the snapshots for the specified project. |
> | `neon_presign_project_branch_bucket_object` | Returns a presigned URL that transfers bytes directly to or from the object's bucket on the specified branch, without the caller ever handling S3 credentials. |
> | `neon_query_project_branch_logs` | Returns logs emitted by services running on the specified branch, ordered by timestamp according to 'sort\_order'. |
> | `neon_recover_project` | Recovers a deleted project within the 7-day deletion recovery period. |
> | `neon_register_project_branch_custom_domain` | Registers a customer-owned domain (for example 'dashboard.acme.com') on the branch and points it at a target entity, chosen by 'entity\_type' + 'entity\_id'. |
> | `neon_remove_organization_member` | Removes the specified member from the organization. |
> | `neon_remove_project_member_role` | Idempotently removes the explicit project grant. |
> | `neon_reset_project_branch_role_password` | Resets the password for the specified Postgres role. |
> | `neon_restart_project_endpoint` | Restarts the specified compute endpoint by immediately suspending it and then starting it again. |
> | `neon_restore_project_branch` | Restores a branch to an earlier state in its own or another branch's history by specifying an LSN or timestamp. |
> | `neon_restore_snapshot` | Restores the specified snapshot to a new branch, and optionally finalizes the restore operation to replace the original branch. |
> | `neon_reveal_credential` | Returns the live 'api\_token' and 's3\_secret\_access\_key' of an existing credential, so a credential whose issuance response was lost can be recovered without minting a new one. |
> | `neon_revoke_api_key` | Revokes the specified API key. |
> | `neon_revoke_credential` | Soft-deletes the credential. |
> | `neon_revoke_org_api_key` | Revokes the specified organization API key. |
> | `neon_revoke_permission_from_project` | Revokes project access from the user associated with the specified permission 'id'. |
> | `neon_rotate_credential` | Replaces the secret material on an existing scoped credential in place. 'token\_id' is preserved — it is the 'AWS\_ACCESS\_KEY\_ID' for. |
> | `neon_rotate_neon_auth_o_auth_client_secret` | Generates a new secret for a confidential OAuth client and invalidates the previous one. |
> | `neon_rotate_project_branch_realtime_secret` | Replaces the branch's Realtime shared secret. |
> | `neon_send_neon_auth_email_provider_test` | Sends a test email using the branch's already-saved custom SMTP configuration. |
> | `neon_send_neon_auth_test_email` | Sends a test email using the SMTP server settings supplied in the request body to verify connectivity and credentials. |
> | `neon_set_default_project_branch` | Sets the specified branch as the project's default branch. |
> | `neon_set_organization_spending_limit` | Sets the monthly spending limit for the specified organization. |
> | `neon_set_project_member_role` | Idempotently sets or updates the explicit project grant of the specified org member. |
> | `neon_set_snapshot_schedule` | Updates the backup schedule for the specified branch. |
> | `neon_start_anonymization` | Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. |
> | `neon_start_project_endpoint` | Starts a compute endpoint. |
> | `neon_suspend_project_endpoint` | Suspends the specified compute endpoint. |
> | `neon_transfer_neon_auth_provider_project` | Transfers ownership of your Neon-managed auth project to your own auth provider account. |
> | `neon_transfer_projects_from_org_to_org` | Transfers selected projects, identified by their IDs, from your organization to another specified organization. |
> | `neon_transfer_projects_from_user_to_org` | Deprecated. |
> | `neon_update_branch_neon_auth_oauth_provider` | Updates an OAuth provider for the specified project. |
> | `neon_update_masking_rules` | Updates the masking rules for the specified anonymized branch. |
> | `neon_update_neon_auth_allow_localhost` | Updates the localhost allow setting for the specified branch's Neon Auth integration. |
> | `neon_update_neon_auth_config` | Updates the auth configuration for the branch. |
> | `neon_update_neon_auth_email_and_password_config` | Updates the email and password authentication configuration for the specified branch's Neon Auth integration. |
> | `neon_update_neon_auth_email_provider` | Updates the email provider configuration for the specified branch's Neon Auth integration. |
> | `neon_update_neon_auth_email_server` | Deprecated. |
> | `neon_update_neon_auth_logs_export` | Enables or disables exporting Neon Auth events for the branch to Neon Platform logs. |
> | `neon_update_neon_auth_magic_link_plugin` | Updates the magic link plugin configuration for Neon Auth. |
> | `neon_update_neon_auth_o_auth_client` | Updates an OAuth client. |
> | `neon_update_neon_auth_oauth_provider` | Deprecated. |
> | `neon_update_neon_auth_o_auth_provider_plugin` | Updates the OAuth provider plugin configuration for Neon Auth. |
> | `neon_update_neon_auth_organization_plugin` | Updates the organization plugin configuration for Neon Auth. |
> | `neon_update_neon_auth_phone_number_plugin` | Updates the phone number plugin configuration for Neon Auth. |
> | `neon_update_neon_auth_user_role` | Updates the role of a user in the Neon Auth user directory for the specified branch. |
> | `neon_update_neon_auth_webhook_config` | Updates the webhook configuration for the specified branch's Neon Auth integration. |
> | `neon_update_organization_member` | Updates the role of an existing member in the specified organization. |
> | `neon_update_project` | Updates the specified project. |
> | `neon_update_project_branch` | Updates the specified branch. |
> | `neon_update_project_branch_data_api` | Updates the Neon Data API configuration for the specified branch. |
> | `neon_update_project_branch_database` | Updates the specified database in the branch. |
> | `neon_update_project_branch_function` | Updates the function's mutable metadata — currently only the display 'name'. |
> | `neon_update_project_branch_trigger` | Applies a partial update. |
> | `neon_update_project_endpoint` | Updates the specified compute endpoint. |
> | `neon_update_snapshot` | Updates the specified snapshot. |

## Frequently asked questions

> [accordion] Can an agent react to Neon events automatically?
>
> Not yet. The catalog entry for `guildai~neon` lists no webhook events, so the integration does not support event-driven triggers from Neon. Agents must be invoked directly or on a schedule.

> [accordion] How do I stop an agent from deleting Neon projects?
>
> Add a DENY rule in the [credential policy](https://docs.guild.ai/platform/credential-policies.md) for the connected Neon credential targeting `neon_delete_project`. DENY rules take precedence over any ALLOW rule, so the proxy blocks that operation before it reaches Neon.

> [accordion] Can different agents use different Neon accounts?
>
> Yes. You can connect multiple Neon credentials scoped to different workspaces or dedicated to individual agents. Guild selects the credential by checking agent-dedicated credentials first, then workspace credentials, then account-level credentials, as described in [Credentials](https://docs.guild.ai/platform/credentials.md).

> [accordion] How does the agent authenticate to Neon?
>
> Guild stores the API key and sends it as a bearer token in the `Authorization` header on each request. The agent code never sees the key; Guild's credential proxy injects it server-side after policy checks pass.

## Put a governed agent on Neon this week

> [card] [Book a demo](https://guild-ai.cal.com/gtm/meeting-with-guild.ai)
>
> See how teams govern agents that use Neon.

> [card] [Talk to sales](https://guild.ai/talk-to-sales)
>
> Get access to Guild, then connect Neon to your first agent.

## Related

**Also runs on Guild:** [Airtable](https://docs.guild.ai/integrations/airtable.md) · [AssemblyAI](https://docs.guild.ai/integrations/assemblyai.md) · [BigQuery](https://docs.guild.ai/integrations/bigquery.md) · [Chroma](https://docs.guild.ai/integrations/chroma.md)

**Read:** Docs: [Credential policies](https://docs.guild.ai/platform/credential-policies.md) · [Credentials](https://docs.guild.ai/platform/credentials.md) · [Tools in agents](https://docs.guild.ai/sdk/tools.md)
