# integrationAttributes

Gets the current integration attributes that have been set.

> **Info**

This property was introduced in version 4.8.1. It provides read-only access to integration attributes.



Purpose [#purpose]

Returns a dictionary of all integration attributes that have been set using [`setIntegrationAttributes(_:)`](/docs/ios/sdk-reference/setIntegrationAttributes).

Signature [#signature]

```swift
public var integrationAttributes: [String: String] { get }
```

Parameters [#parameters]

This is a computed property with no parameters.

Returns / State [#returns--state]

Returns a dictionary mapping attribute keys (as strings) to their values.

Usage [#usage]

Get current integration attributes:

```swift
let attributes = Superwall.shared.integrationAttributes

// Access specific attributes
if let amplitudeUserId = attributes["amplitudeUserId"] {
  print("Amplitude User ID: \(amplitudeUserId)")
}
if let firebaseInstallationId = attributes["firebaseInstallationId"] {
  print("Firebase installation ID: \(firebaseInstallationId)")
}

// Iterate over all attributes
for (key, value) in attributes {
  print("\(key): \(value)")
}
```

Check if an attribute exists:

```swift
let attributes = Superwall.shared.integrationAttributes

if attributes["mixpanelDistinctId"] != nil {
  print("Mixpanel distinct ID is set")
}
```

Related [#related]

* [`setIntegrationAttributes(_:)`](/docs/ios/sdk-reference/setIntegrationAttributes) - Set integration attributes