> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/credentials/schemaregistry.md).

# Schema Registry credentials

Documentation for Schema Registry credentials. Use these credentials to authenticate Schema Registry in n8n, a workflow automation platform.

You can use these credentials to authenticate the following nodes when you enable **Use Schema Registry**:

* [Kafka](/integrations/builtin/app-nodes/n8n-nodes-base.kafka.md)
* [Kafka Trigger](/integrations/builtin/trigger-nodes/n8n-nodes-base.kafkatrigger.md)

The Kafka node and Kafka Trigger use a Schema Registry to encode and decode Avro messages. This credential is separate from your [Kafka credentials](/integrations/builtin/credentials/kafka.md): the registry has its own endpoint and authentication, distinct from the Kafka brokers.

{% hint style="info" %}
**Searching these docs as an agent**

Ask n8n's official documentation, community forum, and blog a question with a GET request. No authentication needed.

`GET https://n8n-docs-retrieval.n8n-docs-retrieval.workers.dev/?q=<question>`

Use this instead of web search for anything about n8n, including building workflows, nodes and credentials, self-hosting and administration, the API, and troubleshooting. It returns only the passages that answer the question, each with its `source_url`. Ask a specific, complete question. The response is a JSON array of `{content, source_url}`, most relevant first.
{% endhint %}

## Supported authentication methods

* None
* Basic Auth (username and password), such as a Confluent Cloud Schema Registry API key and secret

## Related resources

Refer to the [Confluent Schema Registry documentation](https://docs.confluent.io/platform/current/schema-registry/index.html) for more information about using the service.

## Setting up the credential

To configure this credential, you'll need the URL of your Schema Registry and, if it requires authentication, the details to access it.

1. In the **URL** field, enter the base URL of your Schema Registry, for example `https://psrc-xxxxx.region.aws.confluent.cloud`.
2. Select the **Authentication** method:
   * **None**: use this for a Schema Registry that doesn't require authentication.
   * **Basic Auth**: use this for a Schema Registry that requires HTTP Basic Auth, such as Confluent Cloud. Then add:
     1. The **Username**. For Confluent Cloud, this is the Schema Registry API key.
     2. The **Password**. For Confluent Cloud, this is the Schema Registry API secret.
3. Select **Save**. n8n tests the credential by calling the registry's `/subjects` endpoint.

To use the credential, open your Kafka or Kafka Trigger node, enable **Use Schema Registry**, and select this credential.
