Just the essentials to go from zero to working in a few minutes.
Getting Started with Functions
Last verified 22 Jun 2026
Functions are blocks of code that run on demand without the need to manage any infrastructure. Develop on your local machine, test your code from the command line (using doctl), then deploy to a production namespace or App Platform — no servers required.
Functions Quickstart
Sample Functions
Use our example repositories with sample projects and functions to get started quickly with DigitalOcean Functions.
Create a Jamstack Site Using Serverless Functions
Create a simple Jamstack (JavaScript, APIs, Markup) site using serverless functions that replace traditional backend API CRUD functionality. This tutorial series deploys a Jamstack site using App Platform’s functions components and a DigitalOcean Managed MongoDB Database.