To import a key pair, follow the below steps:
Step 1: Login with your username and password.
Step 2: From the left navigation menu, select Compute.
Step 3: Select Key Pairs.
Step 4: Click on Import Public Key.
Step 5: Fill in all the required details and click on Import Public Key.