// Module included in the following assemblies: // // * rosa_learning/creating_cluster_workshop/learning-getting-started-accessing.adoc :_mod-docs-content-type: PROCEDURE [id="learning-getting-started-accessing-cli_{context}"] = Accessing your cluster using the CLI [role="_abstract"] To access the cluster using the CLI, you must have the `oc` CLI installed. If you are following the tutorials, you already installed the `oc` CLI. .Procedure . Log in to the {cluster-manager-url}. . Click your username in the top right corner. . Click *Copy Login Command*. + image::cloud-experts-getting-started-accessing-copy-login.png[] . This opens a new tab with a choice of identity providers (IDPs). Click the IDP you want to use. For example, "rosa-github". + image::cloud-experts-getting-started-accessing-copy-token.png[] . A new tab opens. Click *Display token*. . Run the following command in your terminal: + [source,terminal] ---- $ oc login --token=sha256~GBAfS4JQ0t1UTKYHbWAK6OUWGUkdMGz000000000000 --server=https://api.my-rosa-cluster.abcd.p1.openshiftapps.com:6443 ---- + *Example output*: + [source,terminal] ---- Logged into "https://api.my-rosa-cluster.abcd.p1.openshiftapps.com:6443" as "rosa-user" using the token provided. You have access to 79 projects, the list has been suppressed. You can list all projects with ' projects' Using project "default". ---- . Confirm that you are logged in by running the following command: + [source,terminal] ---- $ oc whoami ---- + *Example output*: + [source,terminal] ---- rosa-user ---- . You can now access your cluster.