Skip to content

Getting Started

Many of these samples were created by the PnP community. They demonstrate different usage patterns for writing developing on Microsoft Teams as a platform. We have also included samples provided by Microsoft.

The easiest way to get started with using these samples is to watch our video: Preview of getting started on consuming SharePoint development community sample solutions

All samples are stored in a GitHub repository. Each sample is located in its own folder with a file that provides details about what it demonstrates and any extra information to help you get the most out of it.

Using the samples

To build and start using these projects, you'll need to clone and build the projects.

Clone the pnp/teams-dev-samples repository by executing the following command in your console:

git clone

Navigate to the cloned repository folder which should be the same as the repository name:

cd teams-dev-samples

To access the samples use the following command, where you replace sample-folder-name with the name of the sample you want to access.

cd samples
cd sample-folder-name

Now follow the instructions in the Readme for the sample.