---
title: "NEW: Quick integration with NPM library"
slug: "new-fast-integration-with-npm-library"
updated: 2024-10-21T09:06:01Z
published: 2024-10-21T09:06:01Z
canonical: "ignite.ticketmaster.com/new-fast-integration-with-npm-library"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://ignite.ticketmaster.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NEW: Quick integration with NPM library

### Retail SDK module of the NPM library
The Retail SDK can be integrated into your React Native project manually - by following the steps listed in the guides below: ([Getting Started](/v1/docs/retail-sdk-react-native-getting-started){target=`_blank`}, [Pre-purchase](/v1/docs/react-native-retail-sdk-1){target=`_blank`} and [Purchase](/v1/docs/react-native-retail-sdk-purchase){target=`_blank`}) -  or by using our NPM library: react-native-ticketmaster-ignite.

| ![image.png](https://cdn.document360.io/995f0bfa-740b-4247-b341-fde1e5326a96/Images/Documentation/image%284%29.png){height="30" width=""} | [https://www.npmjs.com/package/react-native-ticketmaster-ignite](https://www.npmjs.com/package/react-native-ticketmaster-ignite){target=`_blank`} |
| --- | --- |
| ![image.png](https://cdn.document360.io/995f0bfa-740b-4247-b341-fde1e5326a96/Images/Documentation/image%285%29.png){height="30" width=""} | [https://github.com/ticketmaster/react-native-ticketmaster-ignite](https://github.com/ticketmaster/react-native-ticketmaster-ignite){target=`_blank`} |

Follow the installation steps from the library's Readme to install and setup the library.

Once done, head out to the [Usage section](https://github.com/ticketmaster/react-native-ticketmaster-ignite?tab=readme-ov-file#usage){target=`_blank`} to learn about the `IgniteProvider` wrapper needed to finish up the setup phase. 

Once your app is wrapped with the `IgniteProvider` you can use the `RetailSDK` module of the library and its exposed functions: `presentPurchase`, `presentPrePurchaseVenue`, and `presentPrePurchaseAttraction`.

Learn more about the `RetailSDK` module [here](https://github.com/ticketmaster/react-native-ticketmaster-ignite?tab=readme-ov-file#retailsdk){target=`_blank`}.

#### Sample implementation:

```typescript
import { RetailSDK } from 'react-native-ticketmaster-ignite';

const onShowPurchase = async () => {
  try {
    RetailSDK.presentPurchase(DEMO_EVENT_ID);
  } catch (e) {
    console.log((e as Error).message);
  }
};
```

* * *
### Other SDKs
The library exports other modules as well: `AccountsSDK`, `useIgnite` (hook for AccountsSDK functionalities), `TicketsSdkModal` (iOS only) and `TicketsSdkEmbedded`. 

See the documentation for the [Tickets SDK](/v1/docs/new-fast-integration-with-npm-library-1) and [Accounts SDK](/v1/docs/new-fast-integration-with-npm-library-2).
