---
title: Integrating MusicKit into your app
framework: musickit
role: sampleCode
role_heading: Sample Code
path: musickit/integrating-musickit-into-your-app
---

# Integrating MusicKit into your app

Enhance your workouts with Apple Music playback.

## Overview

Overview note: This sample code project is associated with WWDC26 session 254: Integrate MusicKit into your app. Configure the sample code project This sample code project doesn’t work in the simulator. Before you run the sample code project in Xcode, perform the following steps: In Xcode’s Project navigator, select the project, and click the Signing & Capabilities tab. From the Team pop-up menu, choose your developer team. In the Bundle Identifier field, enter a new bundle ID for the MusicKit2026WWDCSampleApp target. The bundle identifier for the project has an associated App ID, so you need a unique identifier to create your own App ID. Use a reverse-DNS format for your identifier, as Preparing your app for distribution  describes. In Safari, visit the Certificates, Identifiers, and Profiles section of the Apple Developer website. Select Identifiers, and click the Add button to create a new App ID for MusicKit2026WWDCSampleApp. Follow the steps until you reach the Register an App ID page. For the Bundle ID, select Explicit, and enter the bundle ID from step 2. Click the App Services tab, and select the MusicKit checkbox. Complete the App ID creation process. After creating your App ID, your Xcode project needs no additional configuration. The MusicKit app service is a runtime service that automatically associates with your app’s bundle ID.
