There are two types of clusters:
All-Purpose clusters can be shared by multiple users. These are typically used to run notebooks. All-Purpose clusters remain active until you terminate them.
Job clusters run a job. You create a job cluster when you create a job. Such clusters are terminated automatically after the job is completed.
This article describes how to create an all-purpose cluster. To learn how to create job clusters, see Create a job.
You can also create a cluster using the Clusters API 2.0.
You should never hard code secrets or store them in plain text. Use the Secrets API 2.0 to manage secrets in the Databricks CLI. Use the Secrets utility (dbutils.secrets) to reference secrets in notebooks and jobs.
You must have permission to create a cluster. See Configure cluster creation entitlement.
Click Compute in the sidebar.
Click the Create Cluster button.
Follow steps 2 and 3 in Use the Create button.