

# Creating code snippets in myApplications
<a name="myApp-gne-code"></a>

myApplications creates code snippets for all of your applications. You can use code snippets to automatically add newly created resources to an application using Infrastructure as Code (IaC) tools. All added resources are tagged with the AWS application tag to associate it with your application.

**To create a code snippet for your application**

1. Open the [AWS Management Console](https://console.aws.amazon.com/).

1. In the left sidebar of the console, choose **myApplications**.

1. Search for and select an application.

1. Choose **Actions**.

1. Choose **Get code snippet**.

1. Select a code snippet type.

1. Choose **Copy** to copy the code to your clipboard.

1. Paste your code into your IaC tool.