---
title: makeIntent
framework: appintentstesting
role: symbol
role_heading: Instance Property
path: appintentstesting/appintentdefinition/makeintent
---

# makeIntent

Creates a populated instance of this intent.

## Declaration

```swift
var makeIntent: IntentValuePropertiesCallable<AnyAppIntent> { get }
```

## Mentioned in

Testing your App Intents code

## Discussion

Discussion The following example shows how you can create an intent instance: let definitions = IntentDefinitions(bundleIdentifier: "com.example.exampleapp") let exampleIntentDefinition = definitions.intents["MyExampleIntent"]

let intent = exampleIntentDefinition.makeIntent(     paramA: "Hello World",     paramB: 1234 )
