# Adding clusters

**URL:** <https://forums.portworx.com/t/adding-clusters/719>\
**Category:** PX-Backup\
**Created:** [December 31, 2020, 5:03pm UTC](https://forums.portworx.com/t/adding-clusters/719 "2020-12-31T17:03:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbode](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@cbode](https://forums.portworx.com/u/cbode)\
**Post date:** [December 31, 2020, 5:03pm UTC](https://forums.portworx.com/t/adding-clusters/719/1 "2020-12-31T17:03:06Z")

</div>

Hello,

I have a few questions about adding clusters

1. is there an alternative way to add a cluster to px-backup so that px-backup interacts using a dedicated service account?

2. In some cases the output from kubectl config view --flatten --minify gets rejected with the error " error in validating kubeconfig" I’ve validated that I can do things like run kubectl get nodes etc. Is there a way to get more meaningful information about what part of the validation failed?

---

<div class="post-metadata">

**Author:** ![Prashanth\_Kumar](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.portworx.com/prashanth_kumar/32/289_2.png) [@Prashanth\_Kumar](https://forums.portworx.com/u/Prashanth_Kumar)\
**Post date:** [January 7, 2021, 6:49am UTC](https://forums.portworx.com/t/adding-clusters/719/2 "2021-01-07T06:49:46Z")

</div>

Hi @cbode

1. UI also as an option to pass in kubeconfig file. Can you please try adding this way?

2. Sorry we don’t have any way to validate the correctness from UI but we can check px-backup logs for any possible errors. Can you upload the same here?
