ERPClimb logoERPClimb
Joule Studio and AI Agents
BTP & Integrationbeginner 5 min read

Joule Studio Part 2: Build Your First Custom Joule Agent

Preview · a free account unlocks the full lesson

Key takeaway

Walk through building a Joule agent end to end: prerequisites (BTP entitlements, destinations), defining the agent's goal and instructions, adding a skill as a tool, testing in the studio, and deploying so it's reachable from Joule. Principal propagation carries the calling user's identity through every skill and service call automatically.

In this lessonShow sections

Visual overview

FIRST AGENTBuilding and deploying a Joule agentGoal, tools, identity, test, deploy1Configure destinationsFor back-end systems the skills callPrerequisites2Define goal and instructionsSpecific, bounded briefingAgent Builder3Add skills as toolsReusable capabilitiesTools?Test with a limited-privilege userPrincipal propagation enforced automaticallyGaps found → tighten skill/back-end authorizationsBehaves correctlyDeployReachable from JouleDeployTip: instructions alone are not a security boundary — the underlying skillsand authorizations are.

Explanation

Part 1 explained the wider landscape; this part walks through actually building a custom Joule agent. Before building anything, two prerequisites need to be in place: the right BTP entitlements and subaccount setup, and destinations configured for any back-end system the agent's skills will need to call.

An agent itself is defined by a goal or set of instructions describing what it should accomplish and how, plus a set of tools it can call — typically skills that you or someone else has already built.

Principal propagation is enforced automatically throughout: the identity of the calling user passes through to every skill and CAP service call the agent makes, so back-end authorizations are applied per user rather than through some shared technical account.

Before deploying an agent, it should be tested conversationally inside Joule Studio, since that kind of testing surfaces gaps in the instructions early, before real users encounter them.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.