···11+---
22+"openapi-ts-docs": patch
33+---
44+55+docs: add github action to integrations
+25-7
docs/openapi-ts/integrations.md
···5566# Integrations <span class="soon">Soon</span>
7788-Integrations allow you to automate your client generation workflow. We suggest using them with `openapi-ts`, but you can use any codegen.
88+Integrations allow you to automate your client generation workflow. Create dependency links between your clients and APIs, and watch the magic unfold. While we prefer to use `openapi-ts` for generating clients, you can use any codegen.
991010-<br/>
1010+## Upload OpenAPI Spec
11111212-::: tip
1313-Integrations are in beta. If you'd like to be one of the first users, [send us an email](mailto:lmenus@lmen.us).
1414-:::
1212+First, you need to configure your API services to send us OpenAPI specifications. This can be done by adding our [hey-api/upload-openapi-spec](https://github.com/marketplace/actions/upload-openapi-spec-by-hey-api) GitHub Action into your CI workflow.
15131616-## Upload OpenAPI Spec
1414+```yaml
1515+name: Upload OpenAPI Specification
17161818-More information will be provided as we finalize the tooling.
1717+on:
1818+ push:
1919+ branches:
2020+ - main
2121+2222+jobs:
2323+ upload-openapi-spec:
2424+ runs-on: ubuntu-latest
2525+ steps:
2626+ - name: Checkout
2727+ uses: actions/checkout@v4
2828+2929+ - name: Upload OpenAPI spec
3030+ uses: hey-api/upload-openapi-spec@v1
3131+ with:
3232+ hey-api-token: ${{ secrets.HEY_API_TOKEN }}
3333+ path-to-openapi: path/to/openapi.json
3434+```
3535+3636+This step requires you to register with us in order to obtain a Hey API token. Please follow the instructions in our [GitHub Action](https://github.com/marketplace/actions/upload-openapi-spec-by-hey-api) to complete the setup. Once you have your APIs configured, you're ready to connect your clients.
19372038## Configure Clients
2139