> For the complete documentation index, see [llms.txt](https://amplify-docs.gitbook.io/amplify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://amplify-docs.gitbook.io/amplify/english/sdk/installation.md).

# 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;
},

```
