---
title: "Connect Installation"
method: POST
path: "/partner/installations/connect"
tags: ["Installation"]
---

# Connect Installation

`POST /partner/installations/connect`

Activates a pending installation using the authorization code issued when the practice installed the
product. Activates the installation and its practice connection, and returns the installation with the
API credentials the practice's app uses to authenticate its requests.

## Request body

- PartnerInstallationsControllerConnectBody
  - `code` string, required — The authorization code issued when the practice installed the product.
  - `activate` boolean — Defaults to true. Pass false to exchange the code without activating the installation.

## Response `200`

Successful response

- PublicInstallationBlueprintOneWithCredential
  - `id` string
  - `auto_grant_partner_app_access` string
  - `default_partner_app_admin_role` string
  - `default_partner_app_non_admin_role` string
  - `status` string
  - `api_keys` PublicApiKeyBlueprintOne
    - `id` string
    - `created_at` string
    - `deactivated_at` string
    - `label` string
    - `last_used_at` string
    - `token` string
  - `practice` PublicPracticeBlueprintMin
    - `id` string
    - `name` string
  - `product` PublicProductBlueprintMin
    - `id` string
    - `name` string
    - `slug` string

---

[API](https://skmtc.net/hint/apis/partner-endpoints.md) · [All operations](https://skmtc.net/hint/apis/partner-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hint/partner-endpoints/versions/a92ae2a6fa90/schema)
