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

# Config

Overview of the Private IPFS SDK Config

## Usage

```typescript theme={null}
import { PinataSDK } from "pinata";

const pinata = new PinataSDK({
  pinataJwt: process.env.PINATA_JWT!,
  pinataGateway: "example-gateway.mypinata.cloud",
});
```

## Parameters

### pinataJwt (Optional)

* Type: `string`

The Pinata API JWT key that authorizes the SDK. [Read more about API Keys](https://docs.pinata.cloud/account-management/api-keys.md).

### pinataGateway (Optional)

* Type: `string`

The domain of the Gateway included with your account. [Read more about Gateways](https://docs.pinata.cloud/gateways/retrieving-files.md).

### pinataGatewayKey (Optional)

* Type: `string`

Optional [Gateway Access Control](https://docs.pinata.cloud/gateways/gateway-access-controls.md) key to authorize requests outside your account.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.