{"id":25164117,"url":"https://github.com/heroku-examples/heroku-agentforce-tutorial-java","last_synced_at":"2025-08-09T19:39:18.646Z","repository":{"id":264238279,"uuid":"888920261","full_name":"heroku-examples/heroku-agentforce-tutorial-java","owner":"heroku-examples","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-26T12:08:13.000Z","size":111,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-26T13:23:05.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heroku-examples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-15T09:03:54.000Z","updated_at":"2025-05-15T08:12:27.000Z","dependencies_parsed_at":"2025-02-09T04:19:18.863Z","dependency_job_id":"83707a14-1514-4634-86cd-6851c0fdd414","html_url":"https://github.com/heroku-examples/heroku-agentforce-tutorial-java","commit_stats":null,"previous_names":["heroku-examples/heroku-agentforce-tutorial-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/heroku-examples/heroku-agentforce-tutorial-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku-examples%2Fheroku-agentforce-tutorial-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku-examples%2Fheroku-agentforce-tutorial-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku-examples%2Fheroku-agentforce-tutorial-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku-examples%2Fheroku-agentforce-tutorial-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heroku-examples","download_url":"https://codeload.github.com/heroku-examples/heroku-agentforce-tutorial-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku-examples%2Fheroku-agentforce-tutorial-java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267543275,"owners_count":24104538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-09T04:19:13.977Z","updated_at":"2025-07-28T16:07:41.419Z","avatar_url":"https://github.com/heroku-examples.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nCreating Agentforce Custom Actions with Heroku - Java\n=====================================================\n\n\u003e 💡 **Heroku Integration Pilot:**\u003cbr/\u003e These steps utilize generally availble features in Heroku and Salesforce. If you have joined the Heroku Integration pilot program please refer to these alternative [instructions](https://github.com/heroku-examples/heroku-agentforce-tutorial/tree/heroku-integration-pilot).\n\u003e \nThis tutorial explains how to deploy a Heroku application written in Java that can be used to build an Agentforce custom action, extending the capabilities of any Agentforce agent with the power of Heroku's fully managed, elastic compute services.\n\nDeploying to Heroku\n-------------------\n\nYou can deploy this application to your Heroku account using the button below or manually via the CLI.\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\nTo proceed with a CLI deployment, install the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) and log in with your Heroku account (or [sign up](https://signup.heroku.com/)). Then, execute the following CLI commands:\n\n```\ngit clone -b https://github.com/heroku-examples/heroku-agentforce-tutorial-java\ncd heroku-agentforce-tutorial-java\nheroku create myagentaction\ngit push heroku main\n```\n\nOnce this has been deployed, refer to the instructions in [configuring Heroku-based actions in your Salesforce organization](https://github.com/heroku-examples/heroku-agentforce-tutorial).\n\nRunning and Testing Locally\n---------------------------\n\nAlthough you cannot integrate this app with Agentforce until you deploy it, you can still develop and test your action’s inputs and outputs locally, using the built-in [Swagger UI](https://swagger.io/tools/swagger-ui/). Once you are satisfied with your changes, refer to the deployment and configuration steps above.\n\n```\ngit clone -b heroku-integration-pilot https://github.com/heroku-examples/heroku-agentforce-tutorial-java\ncd heroku-agentforce-tutorial-java\nmvn clean install\nmvn spring-boot:run\n```\n\nOnce the application is running, navigate to the URL below, and click the **Try it Out** button.\n\n```\nhttp://localhost:8080/swagger-ui/index.html\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheroku-examples%2Fheroku-agentforce-tutorial-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheroku-examples%2Fheroku-agentforce-tutorial-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheroku-examples%2Fheroku-agentforce-tutorial-java/lists"}