---
title: "Configure calicoctl"
description: "Configure calicoctl to reach the datastore backing a Calico Enterprise cluster through config files, environment variables, or kubeconfig credentials."
product: "Calico Enterprise"
version: "3.23 (latest)"
section: "Operations"
canonical_url: "https://docs.tigera.io/calico-enterprise/latest/operations/clis/calicoctl/configure/"
---

# Configure calicoctl

## [📄️Configure calicoctl](https://docs.tigera.io/calico-enterprise/latest/operations/clis/calicoctl/configure/overview.md)

[Overview reference for configuring calicoctl datastore access in Calico Enterprise, comparing config-file, environment-variable, and kubeconfig methods.](https://docs.tigera.io/calico-enterprise/latest/operations/clis/calicoctl/configure/overview.md)

## [📄️Configure calicoctl to connect to the datastore](https://docs.tigera.io/calico-enterprise/latest/operations/clis/calicoctl/configure/datastore.md)

[Sample calicoctl configuration for connecting to the Kubernetes API datastore in a Calico Enterprise cluster, with kubeconfig credential settings.](https://docs.tigera.io/calico-enterprise/latest/operations/clis/calicoctl/configure/datastore.md)
