Skip to main content
Bring your team and maximize your impact at Dreamforce. Register three or more to unlock $999 passes.

Leverage Native Device Capabilities

Learning Objectives

After completing this unit, you’ll be able to:

  • List the available native capability tools in the mobile toolset.
  • Explain how Nimbus plugins bridge the gap between Lightning web components and hardware.
  • Use natural language prompts to generate native-integrated LWCs.

Bridge Web and Hardware with Nimbus

Accessing specialized hardware like cameras, GPS, or biometrics traditionally introduces the technical challenge of writing and maintaining platform-specific code for iOS and Android. Nimbus plugins solve this by acting as device-specific code modules that bridge the gap, allowing your LWC to communicate directly with hardware and operating system services. These plugins remain dormant in desktop environments and only activate when the component is run within a mobile app.

Using these native capabilities, developers can significantly enhance the mobile experience.

  • Enhanced data quality: Use GPS for location stamps to provide verifiable data integrity.
  • Proof of work: Integrate the device camera to provide mandated photo evidence of completed tasks.
  • Increased security: Add an enterprise-grade security layer by utilizing biometric authentication.

Agentforce Native Tools and Grounding

Agentforce Vibes uses the Salesforce DX MCP Server to provide expert grounding, detailed API documentation, and guidance to help you implement these features. These tools are categorized within the mobile and mobile-core toolsets.

Tool Name

Guidance For

create_mobile_lwc_barcode_scanner

Expert guidance for implementing barcode scanning features.

create_mobile_lwc_location

Guidance for getting GPS coordinates and tracking location changes.

create_mobile_lwc_biometrics

Guidance for implementing Face ID or fingerprint authentication.

create_mobile_lwc_calendar

Guidance for opening the native calendar to add or manage events.

create_mobile_lwc_contacts

Guidance for saving information directly to the device's native contacts.

create_mobile_lwc_nfc

Guidance for activating the device's NFC reader to scan tag payloads.

Generate Code with Natural Language

Because these tools are agentic, they are invoked automatically based on the prompts you type in the Agentforce chat. For example, if you ask Agentforce to “Create an LWC named leadContactSaver that saves lead info to the user's phone,” it automatically calls the create_mobile_lwc_contacts tool to ensure the imports and API calls are correct.

By using Nimbus plugins, you have successfully bridged the gap between web-based components and device hardware. You can now use Agentforce to generate native-integrated code, ensuring your users have a powerful, secure experience regardless of their connectivity status.

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback