> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating Clients

> Quick steps to creating your first client on the Corti Console.

export const Button = ({href, children, variant = "secondary", external = false}) => {
  const sharedStyles = "inline-flex items-center gap-1.5 px-3 py-1.5 text-sm rounded-xl";
  const isPrimary = variant === "primary";
  const primaryStyles = "bg-primary-dark text-white border-0";
  const secondaryStyles = "text-gray-700 dark:text-gray-300 border border-gray-200 dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5";
  const className = `${sharedStyles} ${isPrimary ? primaryStyles : secondaryStyles}`;
  return <a href={href} {...external && ({
    target: "_blank",
    rel: "noopener noreferrer"
  })} className={className}>
      {children}
      {external && <Icon icon="external-link" size={12} color={isPrimary ? "white" : undefined} />}
    </a>;
};

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/DyeydxVDslQ" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

<Steps>
  <Step title="Create a Project in the Corti Console" titleSize="h3">
    Start by creating a project. This gives you a workspace and a \$50 trial credit.

    <Button href="https://console.corti.app" external="true">
      Corti Console
    </Button>
  </Step>

  <Step title="Create a Client" titleSize="h3">
    1. Inside your project, create a new client. Choose a clear name such as `test`, `staging`, or `prod`.
    2. Select the correct data residency region, EU or US, based on your deployment requirements.
  </Step>

  <Step title="Save Your Client Credentials" titleSize="h3">
    After creating the client, you will receive credentials that allow your backend to request OAuth access tokens. Store these securely and never expose them to browsers or mobile apps.

    * `client_id`
    * `client_secret`
    * `tenant-name` (usually `base`)
    * `environment` (`eu` or `us`)
  </Step>

  <Step title="Make Your First API Call" titleSize="h3">
    Use the client credentials to fetch an access token, then call the Corti API with a Bearer token and the correct `Tenant-Name` header.
  </Step>
</Steps>
