Importing RKE cluster into Rancher

I’ve a RKE k8s cluster up&running but I wanted to import it into Rancher 2.x via API. How can I achieve that? can someone give a reference to a doc?