---
title: Create auto-follow patterns
description: When you create an auto-follow pattern, you are configuring a collection of patterns against a single remote cluster. When an index is created in the...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/deploy-manage/tools/cross-cluster-replication/ccr-auto-follow-create
products:
  - Elasticsearch
---

# Create auto-follow patterns
When you [create an auto-follow pattern](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/deploy-manage/tools/cross-cluster-replication/ccr-getting-started-auto-follow), you are configuring a collection of patterns against a single remote cluster. When an index is created in the remote cluster with a name that matches one of the patterns in the collection, a follower index is configured in the local cluster. The follower index uses the new index as its leader index.
Use the [create auto-follow pattern API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-put-auto-follow-pattern) to add a new auto-follow pattern configuration.