> For the complete documentation index, see [llms.txt](https://cll-devrel.gitbook.io/bootcamp-2024/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cll-devrel.gitbook.io/bootcamp-2024/9.-off-chain-data-with-chainlink-functions/creating-the-functions-consumer-contract.md).

# Creating The Functions Consumer Contract

### Adding a Consumer

Navigate back to the subscription you just created. We need to authorize your freshly-deployed contract as an authorized consumer of your subscription's balance! Click the "Add consumer" button on the right:

<figure><img src="/files/4tn2uxsjtiUJvRwnR5rP" alt=""><figcaption><p>Adding a consumer to your subscription</p></figcaption></figure>

<figure><img src="/files/dYtxjlv8t6jkXfj7PaSJ" alt=""><figcaption></figcaption></figure>

Next paste in your deployed `GettingStartedFunctionsConsumer.sol` contract's address  (#1) you copied earlier and  click "Add consumer" (#2):

<figure><img src="/files/mzKoCtmLGEz5Ir3wXS1q" alt=""><figcaption><p>Paste in your deployed contract's address and add the consumer</p></figcaption></figure>

Click the "Confirm" button in MetaMask to approve:

<figure><img src="/files/uQevB94c46MN91wKEUzQ" alt=""><figcaption><p>Approve to add a consumer</p></figcaption></figure>

After the consumer is added, click the "Close" button:

<figure><img src="/files/bWgEklYJr2BwCJGUmvGR" alt=""><figcaption></figcaption></figure>

Refresh your Subscription dashboard page, and you will  see your new consumer of your Chainlink Functions Subscription!

<figure><img src="/files/1nbVCGcSLVdN215thaKG" alt=""><figcaption><p>Successfully added a consumer</p></figcaption></figure>

In the next section, you will need your Subscription ID so copy it and head back to Remix.

<figure><img src="/files/mDudyeKxoWJ2zDFWY9EW" alt=""><figcaption><p>Copy your Subscription ID</p></figcaption></figure>
