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

# Migrate from ElevenLabs SwiftSDK

> How to migrate from ElevenLabs Swift SDK to Outspeed Swift SDK.

# ElevenLabs Swift Compatibility

OutspeedSDK is fully compatible with Elevenlabs Swift SDK specifications (with exception of some features.)

If you are migrating from ElevenLabsSDK, follow these steps:

## 1. Replace Imports and Configs

Replace all occurrences of `ElevenLabsSDK` with `OutspeedSDK`. For example:

```swift theme={null}
import ElevenLabsSDK

let config = ElevenLabsSDK.SessionConfig( agentId : "testagent")
```

becomes

```swift theme={null}
import OutspeedSDK

let config = OutspeedSDK.SessionConfig( agentId : "testagent")
```

## 2. Add Your Outspeed API Key

Update your `startSession` call to include your Outspeed API key:

```swift theme={null}
let conversation = try await ElevenLabsSDK.Conversation.startSession(
    config: config,
    callbacks: callbacks
)
```

becomes

```swift theme={null}
let conversation = try await OutspeedSDK.Conversation.startSession(
    config: config,
    callbacks: callbacks
    apiKey: "<YOUR_OUTSPEED_API_KEY>"
)
```

Refer to a working example on [GitHub](https://github.com/outspeed-ai/outspeed-examples/tree/main/swift-ios-basic).
