# Installation

Amplify SDK is available as a package within NPM. To install it, you need to run the following command in the root of your project:

```
npm i amplify-sdk
```

### Next JS

If you are using NextJS, you need to import the dependency by disabling server-side rendering in the following way:

```javascript

const CryptoCheckout = dynamic(() => import('amplify-sdk').then((mod) => mod.CryptoCheckout), { ssr: false });

```

And add the following configuration in `next.config.js`:

```javascript

webpack: (config) => {
  config.resolve.fallback = { fs: false, net: false, tls: false };

  return config;
},

```
