---
title: "addProvisionalHome(named:configuration:)"
framework: HomeKit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, visionOS 27.2+]
path: "homekit/hmhomemanager/addprovisionalhome(named:configuration:)"
---

# addProvisionalHome(named:configuration:)

Adds a temporary provisional home while someone performs HomeKit installation services for a client.

## Declaration

```swift
func addProvisionalHome(named name: String, configuration: HMHomeManager.ProvisionalConfiguration) async throws -> HMHome
```

## Parameters

- `name`: The name of the provisional home. It must be different from the name of any existing home.
- `configuration`: The configuration for the provisional home with Thread network credentials and a home hub pairing identity.

## Return Value

Return Value The configured provisional home you use for installation services.

## Overview

Overview When a person performs installation services at a home and pairs accessories, HomeKit automatically pre-installs the home hub as an administrative controller for each accessory. When using HomeKit accessory protocol (HAP) pairing, HomeKit enables seamless transfer of accessories without key rotation when an installation service provider transfers the provisional home to the home hub.

## See Also

### Providing installation services

- [HMHomeManager.ProvisionalConfiguration](homekit/hmhomemanager/provisionalconfiguration.md)
- [HMHomeManager.PairingIdentity](homekit/hmhomemanager/pairingidentity.md)
