> For the complete documentation index, see [llms.txt](https://docs.dev3.sh/welcome-to-dev3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dev3.sh/welcome-to-dev3/integrations/chainlink-subscriptions/functions-subscriptions.md).

# Functions Subscriptions

### Introduction

[Chainlink Functions](https://docs.chain.link/chainlink-functions) provides your smart contracts access to trust-minimized compute infrastructure, allowing you to fetch data from APIs and perform custom computation.\
This module makes it easy to manage Chainlink Functions Subscriptions.

### Usage

To start using this module, initialize the Dev3 SDK & Chainlink VRF instances first, like this:

```typescript
import { Dev3SDK, FunctionsOracleRegistry } from "dev3-sdk";

var dev3: Dev3SDK;
var functionsRegistry: FunctionsOracleRegistry;

async function init() {
    dev3 = new Dev3SDK("<your api key>", "<your project id>");
    functionsRegistry = new FunctionsOracleRegistry();
    return functionsRegistry.init();
}

init();
```

Once initialization function is finished, you can start using the Functions Subscriptions module by interacting with the functions registry object!
