--- title: Connect kubectl description: Authenticate and connect to your cluster with kubectl. --- The primary way to get kubeconfig is through the Noplane Console. The CLI can also fetch kubeconfig, but it is beta. ## Console (primary) 1) Open **Managed Clusters** and select your cluster. 2) Choose **Kubeconfig**. 3) Copy or download the kubeconfig file. 4) Point `kubectl` to the file and verify access: ```bash export KUBECONFIG=./my-cluster-kubeconfig.yaml kubectl get nodes ``` ## CLI (beta) Fetch kubeconfig with the CLI and export it as `KUBECONFIG`. Refer to the CLI reference for the latest command syntax.