Kubernetes url on Jenkins plugin

Hi, I’m new to Rancher and Kubernetes. I managed to install Jenkins in a cluster and I’m trying to confugure. Have a lot of questions but let’s start with one: In the kubernetes plugin config page (configure clouds) Jenkins ask for the kubernetes url. How exactly do I get that? When I press the test connection button Jenkins adds /api/v1/namespaces/default/pod to the url I put and gets a 404 error.
Thank you