# Functions – DigitalOcean Documentation > DigitalOcean Functions is a function as a service (FaaS) offering that lets you run your local serverless code in the cloud using Node.js, Python, Go, or PHP without managing any backend infrastructure. ## Getting Started with Functions Quickstarts and intermediate tutorials to get started. - [Functions Quickstart](https://docs.digitalocean.com/products/functions/getting-started/quickstart/index.html.md): Just the essentials to go from zero to working in a few minutes. - [Sample Functions](https://docs.digitalocean.com/products/functions/getting-started/sample-functions/index.html.md): Use our example repositories with sample projects and functions to get started quickly with DigitalOcean Functions. - [Serverless Jamstack, Part 1: Deploy a MongoDB Database](https://docs.digitalocean.com/products/functions/getting-started/serverless-jamstack/deploy-mongodb/index.html.md): Deploy a static website and a MongoDB database as part of setting up a Jamstack-style app. - [Serverless Jamstack, Part 2: Add Serverless Functions to App](https://docs.digitalocean.com/products/functions/getting-started/serverless-jamstack/add-functions/index.html.md): Set up serverless functions and connect them to the database. - [Serverless Jamstack, Part 3: Connect Serverless Functions to Website](https://docs.digitalocean.com/products/functions/getting-started/serverless-jamstack/connect-functions-to-website/index.html.md): Connect the serverless functions to the static website, test the site's functionality and redeploy the app. ## Functions How-Tos How to accomplish specific tasks in detail, like creation/deletion, configuration, and management. - [How to Create Functions](https://docs.digitalocean.com/products/functions/how-to/create-functions/index.html.md): Create and deploy a function using the command line or control panel. - [How to Develop Functions](https://docs.digitalocean.com/products/functions/how-to/develop-functions/index.html.md): Improve your serverless development with this guidance on invoking, iterating on, and observing DigitalOcean Functions. - [How to Configure Functions](https://docs.digitalocean.com/products/functions/how-to/configure-functions/index.html.md): Configure the resource limits, runtime, and environment of your DigitalOcean Functions. - [How to Schedule Functions](https://docs.digitalocean.com/products/functions/how-to/schedule-functions/index.html.md): Schedule functions to run periodically. - [How to Call Long-running Functions Asynchronously](https://docs.digitalocean.com/products/functions/how-to/async-functions/index.html.md): You can invoke long-running functions asynchronously using the doctl command line tool or the Functions REST API. You cannot run functions invoked as web functions asynchronously. Asynchronous (or non-blocking) function invocations immediately return an … - [How to Destroy Functions](https://docs.digitalocean.com/products/functions/how-to/destroy/index.html.md): You can destroy individual functions at any time. You can also destroy all functions in a namespace at once by resetting the namespace. Destroy Individual Functions To permanently destroy functions, from the Overview tab of the namespace, click the … - [How to Include Static Files](https://docs.digitalocean.com/products/functions/how-to/include-files/index.html.md): Node.js, Python, and PHP functions include all the files in their directory when deployed. Functions written in Go must use the embed package to refer to these files. Including Files in Node.js, Python, and PHP By default, all files in a Node.js, Python, … - [How to Set Custom CORS Headers](https://docs.digitalocean.com/products/functions/how-to/set-custom-cors-headers/index.html.md): Set custom CORS headers. - [How to Create Namespaces to Organize DigitalOcean Functions](https://docs.digitalocean.com/products/functions/how-to/create-namespaces/index.html.md): Namespaces are a level of isolation and organization for functions and their settings. All functions and projects must be created in a namespace. Command Line To create a new namespace, use the create subcommand of doctl serverless namespaces, passing in a … - [How to Destroy Namespaces](https://docs.digitalocean.com/products/functions/how-to/destroy-namespaces/index.html.md): Namespaces are a level of isolation and organization for functions and their settings. All functions and projects must be created in a namespace. Destroying a namespace permanently destroys all of its projects and functions. Command Line Use the doctl … - [How to Structure Projects](https://docs.digitalocean.com/products/functions/how-to/structure-projects/index.html.md): Projects contain functions that are grouped into packages and configured by a project.yml file. - [How to Forward Logs](https://docs.digitalocean.com/products/functions/how-to/forward-logs/index.html.md): You can configure functions to forward console and error logs from the function to a third-party logging service. Functions supports Papertrail, Datadog, and Logtail. To configure your function to ship logs to a third party, you need to define a … - [How to Deploy Functions to App Platform](https://docs.digitalocean.com/products/functions/how-to/deploy-to-app-platform/index.html.md): Use App Platform to deploy your Functions as a component of a production app. ## Functions Reference CLI documentation for functions, including example requests and available parameters, and other reference information like project YAML configuration and activation records. - [Activation Record JSON Structure](https://docs.digitalocean.com/products/functions/reference/activation-records/index.html.md): Each asynchronous activation of a function creates an activation record, which you can retrieve to learn more about the process. Activation records are a JSON object, the structure of which is documented here. - [HTTP Headers](https://docs.digitalocean.com/products/functions/reference/http-headers/index.html.md): HTTP headers used by Functions. - [Parameters and Responses](https://docs.digitalocean.com/products/functions/reference/parameters-responses/index.html.md): Functions receive two parameters, event and context, and should return a single value. - [Project Configuration YAML File](https://docs.digitalocean.com/products/functions/reference/project-configuration/index.html.md): The project.yml file is a YAML configuration file in the root directory of a project which lets you define environment variables, parameters, and other properties for the project and the packages and functions within it. The structure of the information in … - [Build Process](https://docs.digitalocean.com/products/functions/reference/build-process/index.html.md): The Functions service performs a build process to transform your project’s source code into executable functions. Though much of the build runs in your own build scripts, there are other details about the Functions build process that are useful to … - [Functions Go Runtime](https://docs.digitalocean.com/products/functions/reference/runtimes/go/index.html.md): Details on developing Functions using Go. - [Functions Node.js JavaScript Runtime](https://docs.digitalocean.com/products/functions/reference/runtimes/node-js/index.html.md): Details on developing Functions using Node.js JavaScript. - [Functions PHP Runtime](https://docs.digitalocean.com/products/functions/reference/runtimes/php/index.html.md): Details on developing Functions using PHP. - [Functions Python Runtime](https://docs.digitalocean.com/products/functions/reference/runtimes/python/index.html.md): Details on developing Functions using Python. ## Functions Details Features, plans and pricing, availability, limits, known issues, and more. - [Functions Features](https://docs.digitalocean.com/products/functions/details/features/index.html.md): Functions is a function as a service (FaaS) offering that lets you run your local serverless code in the cloud using Node.js, Python, Go, or PHP. - [Functions Pricing](https://docs.digitalocean.com/products/functions/details/pricing/index.html.md): Billing information for DigitalOcean Functions, including free allowance, bandwidth, and overage charges. - [Functions Availability](https://docs.digitalocean.com/products/functions/details/availability/index.html.md): Regional datacenter availability for DigitalOcean Functions. - [Functions Limits](https://docs.digitalocean.com/products/functions/details/limits/index.html.md): Limits and known issues for DigitalOcean Functions. ## Functions Support Technical support articles for Functions. - [Why am I getting an error when trying to forward DigitalOcean Functions to Managed OpenSearch?](https://docs.digitalocean.com/support/why-am-i-getting-an-error-when-trying-to-forward-digitalocean-functions-to-managed-opensearch/index.html.md): Functions does not support forwarding to Managed OpenSearch. - [Why does my function return a 204 response when I call it from Postman or curl?](https://docs.digitalocean.com/support/why-does-my-function-return-a-204-response-when-i-call-it-from-postman-or-curl/index.html.md): The function handler needs to return a response object to HTTP requests from Postman or curl.