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

# Step 3: Install the iOS SDK

Next, we can embed the SDK in your iOS app to
store card details, authorize payments, and capture a transaction.

## Add the SDK

The [iOS SDK](https://github.com/gr4vy/gr4vy-ios) is available as a CocoaPods pod
and can be set up as follows.

```ruby Podfile theme={"dark"}
use_frameworks!

target 'TARGET_NAME' do
    pod 'gr4vy-ios', '1.3.0'
end
```

<Note>
  Replace `TARGET_NAME` with your own build target. Please check [GitHub](https://github.com/gr4vy/gr4vy-ios) for
  the latest version of our SDK.
</Note>

Then, in the `Podfile` directory type the following command.

```sh theme={"dark"}
pod install
```

On M1 Macs please add `arch -x86_64` to the command.

```sh theme={"dark"}
arch -x86_64 pod install
```
