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

# Configure calicoq

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

[Overview reference for configuring calicoq datastore access in Calico Enterprise, covering config files, environment variables, and Kubernetes credentials.](https://docs.tigera.io/calico-enterprise/latest/operations/clis/calicoq/configure/overview.md)

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

[Sample calicoq 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/calicoq/configure/datastore.md)
