I have enabled DevHub in my developer edition org.

enter image description here

But I am still not able to enable "Salesforce Functions".

Any idea?

enter image description here

  • As of now, it's available to try on local computer. If you're interested to begin with, you can try the same. You need SFDX updated unified CLI, docker installed, SFDX 7.121+. You can either follow functions recipies on github or just create a function CLI automatically add few files as per the technology.
    – Ysr Shk
    Oct 25, 2021 at 5:31
  • 1
    Yeah locally it does work with docker but the only issue is we cannot call it from Apex as of now. Oct 25, 2021 at 6:24
  • 1
    yes as of now same is pending. As of now, untill dev hub gets that feature we can't enable functions in scratch org and without that we can't invoke same from apex.
    – Ysr Shk
    Oct 25, 2021 at 11:29

1 Answer 1


While Salesforce functions are now GA, they are not available for use inside of a developer edition Salesforce org.

There was a blog released today announcing the GA that has much more information.

Currently, if you would like to get access to functions you have two options:

  1. In the coming weeks there will be a sign up released to get a trial org, as outlined in the blog.
  2. Speak to your companies account team to have functions purchased and activated - they will be able to give you all of the details as we don't have them to share.

For the time being you can access the docs and trailhead quick look.

  • The strange part is this is not even available in our production org, or lower orgs. Does this mean my company has to buy this feature from salesforce. I thought this feature was free. Oct 12, 2021 at 18:04
  • Thanks for sharing the Trailhead as well. Oct 13, 2021 at 9:50
  • Is it also not available in Trailhead orgs? I'm going through the "Quick Start: Explore the Functions Recipes Sample App" on Trailhead but my org doesn't have the Enable option in Setup/Functions.
    – Bahman.A
    Oct 14, 2021 at 22:53
  • @Bahman.A no, they aren't enabled on Trailhead Playground orgs. Oct 25, 2021 at 18:26
  • 1
    You can use Functions and connect to a DevHub by using the local development experience, you can take a look at Getting Started with Salesforce Functions Locally. No license required! Nov 23, 2021 at 18:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.