> ## Documentation Index
> Fetch the complete documentation index at: https://nango-scrips-ref.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Set connection metadata

> Set custom metadata for the connection.

## Set *connection metadata*

Nango uses the request body as the new metadata (it must be a JSON object). Note that this overrides any existing metadata.

## Fetching *connection metadata*

To read the existing metadata of a *connection*, simply fetch the connection. Your custom metadata is included as part of the returned connection object.
