# Stainless (/integrations/sdks/stainless)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 272 · updated: 2026-07-30 -->
Related: [Speakeasy](/integrations/sdks/speakeasy.md), [Support integrations](/integrations/support/overview.md)

## Prerequisites [#prerequisites]

* Have a [Stainless](https://app.stainless.com) account.

## Set up the integration [#set-up-the-integration]

<Steps>
  <Step title="Set up OpenAPI decoration in Stainless.">
    In your `stainless.yml` config file, add `openapi.code_samples: 'mintlify'`. See the [Stainless documentation](https://www.stainless.com/docs/docs-integrations/mintlify) for more information.
  </Step>

  <Step title="Publish the URL to your OpenAPI spec.">
    In your Stainless project:

    1. Click the **Release** tab.
    2. Click **Setup OpenAPI publishing**.
    3. Copy the URL to your publicly accessible OpenAPI spec.

    <img src="/_assets/97299753674daa309dbb2f59cebdf9a9f70f83db77abe37b96fbc7a2e980c1cf" alt="Stainless release page with the OpenAPI spec URL highlighted with a green box." />
  </Step>

  <Step title="<>Add your OpenAPI spec URL to your <code>docs.json</code>.</>">
    In your `docs.json` file, add the URL from Stainless to the `openapi` field. See [OpenAPI Setup](/api-playground/openapi-setup) for more information.
  </Step>
</Steps>
