---
title: appEntityIdentifier
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/appentityannotatable/appentityidentifier
---

# appEntityIdentifier

The identifier of an app entity you want to associate with a system type.

## Declaration

```swift
var appEntityIdentifier: EntityIdentifier? { get set }
```

## Mentioned in

Providing contextual cues to Apple Intelligence and Siri Donating your app’s data and actions to the system

## Discussion

Discussion This property stores the unique identifier of one of your app’s entities. Use it to create an association between a system type and one of your custom AppEntity types. For example, the NSUserActivity makes this property available so you can specify the entity associated with your app’s activity. To remove the association with one of your app’s entities, set this property to nil.
