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

# Developer Tokens

export const MultiRelatedLinks = ({sections = []}) => {
  if (!sections || sections.length === 0) {
    return null;
  }
  return <div className="space-y-8">
      {sections.map((section, index) => <RelatedLinks key={index} title={section.title} items={section.items} />)}
    </div>;
};

export const RelatedLinks = ({title, items = []}) => {
  const getBadgeClass = badge => {
    if (!badge) return "badge-default";
    const badgeType = badge.toLowerCase().replace(/\s+/g, "-");
    return `badge-${badge === "ガイド" ? "guide" : badgeType}`;
  };
  if (!items || items.length === 0) {
    return null;
  }
  return <div className="my-8">
      {}
      <h3 className="text-sm font-bold uppercase tracking-wider mb-4">{title}</h3>

      {}
      <div className="flex flex-col gap-3">
        {items.map((item, index) => <a key={index} href={item.href} className="py-2 px-3 rounded related_link hover:bg-[#f2f2f2] dark:hover:bg-[#111827] flex items-center gap-3 group no-underline hover:no-underline border-b-0">
            {}
            <span className={`px-2 py-1 rounded-full text-xs font-semibold uppercase tracking-wide flex-shrink-0 ${getBadgeClass(item.badge)}`}>
              {item.badge}
            </span>

            {}
            <span className="text-base">{item.label}</span>
          </a>)}
      </div>
    </div>;
};

export const Link = ({href, children, className, ...props}) => {
  const localizedHref = href;
  return <a href={localizedHref} className={className} {...props}>
      {children}
    </a>;
};

<RelatedLinks
  title="REQUIRED GUIDES"
  items={[
{ label: translate("Platform App"), href: "/guides/applications/platform-apps/index", badge: "GUIDE" }
]}
/>

A Developer Token is an Access Token available to developers during development
and testing. These tokens are short lived, as they expire after 60 minutes, and
cannot be refreshed programmatically.

## Create Developer Token

To create a Developer Token for an application:

* Navigate to the Box [Developer Console][devconsole] and select the application to create a Developer Token for.
* Select the **Configuration** tab.
* Under Developer Token, select **Generate Developer Token**.

<Info>
  You can also generate a Developer Token directly from <Link href="/guides/applications">My Platform Apps</Link>
  view, using the menu available for each app.
</Info>

<Frame border center shadow>
  <img src="https://mintcdn.com/box/KBEcg4yicgc_HMRY/images/guides/authentication/developer-token.png?fit=max&auto=format&n=KBEcg4yicgc_HMRY&q=85&s=f4fcdb2d4e4595c846319baf92d024bf" alt="Generating a Developer Token" width="2329" height="950" data-path="images/guides/authentication/developer-token.png" />
</Frame>

## Using Developer Token

A Developer Token can be used like any Access Token in the `Authorization`
header of an API call.

```sh theme={null}
curl https://api.box.com/2.0/users/me \
    -H "authorization: Bearer [DEVELOPER_TOKEN]"
```

<Warning>
  A Developer Token is associated with the the user that is logged in to the
  Developer Console when the token is generated.
</Warning>

Our SDKs can be initialized with a Developer Token to create a basic API client.

```sh theme={null}
curl https://api.box.com/2.0/users/me \
    -H "authorization: Bearer [DEVELOPER_TOKEN]"
```

<Danger>
  **Developer tokens should not be used in production environments**

  Developer Tokens should only be used for development or testing purposes.
</Danger>

<Warning>
  When you explicitly revoke a developer token for a given app via the
  Developer console, all webhooks created by that application get deleted.
</Warning>

[devconsole]: https://app.box.com/developers/console

## Using SDKs and Developer Tokens

To learn more about Developer Tokens for each SDK head over to:

* [.Net][.Net]

* [Java][Java]

* [Python][Python]

* [Node][Node]

* [IOS][IOS]

[.Net]: https://github.com/box/box-windows-sdk-v2/blob/legacy/docs/authentication.md#developer-token

[Java]: https://github.com/box/box-java-sdk/blob/legacy/doc/authentication.md#developer-token

[Python]: https://github.com/box/box-python-sdk/blob/legacy/docs/usage/authentication.md#developer-token

[Node]: https://github.com/box/box-node-sdk/blob/legacy/docs/authentication.md#developer-token

[IOS]: https://github.com/box/box-ios-sdk/blob/legacy/BoxSDK/docs/usage/authentication.md#developer-token

<RelatedLinks
  title="RELATED GUIDES"
  items={[
{ label: translate("Select Auth Method"), href: "/guides/authentication/select", badge: "GUIDE" }
]}
/>
