# Functions FAQ

### **Is there an additional cost for Functions?**&#x20;

Nope! Functions is included functionality. Contact our team at <support@freshpaint.io> to gain access.

### **Hosting the source code**

**Is there a way to connect a private repository? Or does it have to be a public repo? Are there methods other than GitHub?**&#x20;

Right now, we only support public repos on GitHub.

### **Updating / Maintaining**

#### Is there a way to guarantee that the Function is using the latest version of the source code?

There's a "refresh" button in the UI that will pull the latest version of the code.

### **Development**

#### When iterating and testing a function, what's the best way to get feedback / validate that it's working?

Set up a development environment in Freshpaint, and upload the function there. Send events to the development environment and to confirm that they are working properly. [Pipedream](https://pipedream.com/) is also a helpful tool for ensuring that requests are being formatted properly.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.freshpaint.io/integrations/destinations/functions/functions-faq.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
