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

# Manage Clients

> Learn how to create, configure, and manage clients to authenticate requests to Confidence.

export const HowToSchema = ({name, description, steps = []}) => {
  const schema = {
    "@context": "https://schema.org",
    "@type": "HowTo",
    name,
    description
  };
  if (steps.length > 0) {
    schema.step = steps.map((s, i) => ({
      "@type": "HowToStep",
      position: i + 1,
      name: typeof s === "string" ? s : s.name,
      text: typeof s === "string" ? s : s.text || s.name
    }));
  }
  return <script type="application/ld+json" dangerouslySetInnerHTML={{
    __html: JSON.stringify(schema)
  }} />;
};

<HowToSchema
  name="Manage Clients"
  description="Learn how to create, configure, and manage clients to authenticate requests to Confidence."
  steps={[
{
  name: "Go to the Clients page",
  text: "Select Admin > Clients in the sidebar.",
},
"Click Create",
"Give the client a name",
"Click Create",
{
  name: "Go to the Clients page",
  text: "Select Admin > Clients in the sidebar.",
},
"Select the client you want to create a credential for",
{
  name: "Click Add credential",
  text: "A new credential is created and the credential secret is copied to your clipboard. You can also view the credential secret by clicking the show icon.",
},
{
  name: "Go to the Clients page",
  text: "Select Admin > Clients in the sidebar.",
},
"Select the client you want to create a new credential for",
"Click Add credential to create a new credential",
"Update your application to use the new credential",
"Delete the old credential",
]}
/>

To be able to talk to Confidence from your website, backend service or mobile
app, you need to create a [client](../flags/clients).

## Create a Client

<Steps>
  <Step title="Go to the Clients page">
    Select **Admin > Clients** in the sidebar.
  </Step>

  <Step title="Click Create" />

  <Step title="Give the client a name" />

  <Step title="Click Create" />
</Steps>

## Create Credentials

After you have created a client, you also need to create a credential that
you use to authenticate requests to Confidence. To create a credential,
follow these steps:

<Steps>
  <Step title="Go to the Clients page">
    Select **Admin > Clients** in the sidebar.
  </Step>

  <Step title="Select the client you want to create a credential for" />

  <Step title="Click Add credential">
    A new credential is created and the credential secret is copied to
    your clipboard. You can also view the credential secret by clicking the show icon.
  </Step>
</Steps>

Use the credential when you initialize a Confidence client SDK, or when
you make API requests to Confidence.

## Rotate Credentials

If you need to rotate credentials, do the following.

<Steps>
  <Step title="Go to the Clients page">
    Select **Admin > Clients** in the sidebar.
  </Step>

  <Step title="Select the client you want to create a new credential for" />

  <Step title="Click Add credential to create a new credential" />

  <Step title="Update your application to use the new credential" />

  <Step title="Delete the old credential" />
</Steps>

## Related Resources

<CardGroup cols={2}>
  <Card title="Create a Flag" href="/docs/how-to-guides/create-flag">
    Set up flags that use your clients
  </Card>

  <Card title="Clients Reference" href="/docs/flags/clients">
    Deep dive into client configuration
  </Card>

  <Card title="Configure a Flag Quickstart" href="/docs/quickstarts/configure-flag">
    End-to-end tutorial with client setup
  </Card>

  <Card title="Setup Clients API" href="/docs/api/how-to-guides/flags/setup-flag-clients">
    API reference for clients
  </Card>
</CardGroup>
