---
title: Aura Component / Lightning Web Component
slug: voice-german/aura-component-lightning-web-component
docTags: 
createdAt: 2024-03-19T23:48:52.895Z
---

You can use a Aura Component or Lightning Web component for *click to dial*.

•[Salesforce help](https://developer.salesforce.com/docs/component-library/bundle/lightning\:clickToDial/example) (Aura Component)

•[Salesforce help](https://developer.salesforce.com/docs/component-library/bundle/lightning-click-to-dial/example) (Lightning Web Component)

Create an Aura Component and add following code in its component file where

Value = the phone number to call

recordID = data record like contact ID

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/api-lwc.jpg)

You can can add this Lightning component to any of your record pages by clicking -> edit page -> drag the component onto the layout and save it.

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/editpage.jpg)

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/addcomponenttopage.png)

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/componentaddedonpage.png)

