---
schema_version: "1"
id: 67c233cf346aa4094bb3dcf9bd6391f2b2193b35c60d1f8aa55558c76a0210ae
title: Use Heroku Data in Functions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforce-functions/functions/guide/dev-guide/heroku-data.md
canonical_url: https://developer.salesforce.com/docs/platform/functions/guide/heroku-data.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 52ea426d5936f4dfbd25c75c1bf191120a5f3a55d4a2c0822ae71e98dc8719b1
products:
  - Salesforce Functions
---
# Use Heroku Data in Functions

Heroku’s fully managed Postgres, Redis, Apache Kafka, and Heroku Connect data services help developers get started faster, and be more productive forever. All of which means you can focus on building data-driven apps, not data infrastructure.

-   [Heroku Postgres](https://www.heroku.com/postgres) delivers the world’s most advanced open-source database as a trusted, secure, and scalable service, optimized for developers.
-   [Heroku Data for Redis](https://elements.heroku.com/addons/heroku-redis) gives you the open-source data store you love with a more robust developer experience.
-   [Apache Kafka on Heroku](https://devcenter.heroku.com/articles/kafka-on-heroku#:~:text=Apache%20Kafka%20on%20Heroku%20is,consumers%20using%20message%20based%20topics.) connects the leading open-source solution for handling streaming data with an ecosystem of apps and fully managed data services.
-   [Heroku Connect](https://devcenter.heroku.com/articles/heroku-connect) synchronizes your Salesforce data in Heroku Postgres with your org.

## Add Your Heroku Data Add-On

-   [Add a Heroku Data Source to Functions](https://developer.salesforce.com/docs/platform/functions/guide/heroku-add-data-source.md)
-   [Create a Postgres Client in JavaScript](https://developer.salesforce.com/docs/platform/functions/guide/heroku-postgres-js.md)
-   [Create a Postgres Client in Java](https://developer.salesforce.com/docs/platform/functions/guide/heroku-postgres-java.md)
-   [Create a Redis Client in JavaScript](https://developer.salesforce.com/docs/platform/functions/guide/heroku-redis-js.md)
-   [Create a Redis Client in Java](https://developer.salesforce.com/docs/platform/functions/guide/heroku-redis-java.md)
    <!-- - [Create a Kafka Client in JavaScript]() TBD -->
    <!-- - [Create a Kafka Client in Java]() TBD -->
