# How we can create Canada Address Lookup in Pega Infinity 24.2.

**URL:** <https://forums.pega.com/t/how-we-can-create-canada-address-lookup-in-pega-infinity-24-2/9601>\
**Category:** General\
**Tags:** pega-academy\
**Created:** [June 19, 2025, 1:10pm UTC](https://forums.pega.com/t/how-we-can-create-canada-address-lookup-in-pega-infinity-24-2/9601 "2025-06-19T13:10:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PoojaK137](https://avatars.discourse-cdn.com/v4/letter/p/74df32/32.png) [@PoojaK137](https://forums.pega.com/u/PoojaK137)\
**Post date:** [June 19, 2025, 1:10pm UTC](https://forums.pega.com/t/how-we-can-create-canada-address-lookup-in-pega-infinity-24-2/9601/1 "2025-06-19T13:10:03Z")

</div>

Hi Everyone,

I need to Create Canada Post Address Lookup in Pega(24.2) Constellation.

Can anyone tell me how Can I create Canada Post Address Lookup using AddressCompleteKey.

Thank You.

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [June 19, 2025, 8:53pm UTC](https://forums.pega.com/t/how-we-can-create-canada-address-lookup-in-pega-infinity-24-2/9601/2 "2025-06-19T20:53:57Z")

</div>

@PoojaK137

Please check this post

> **[Constellation - Automatically Populating Default Values When Adding New Rows...](https://support.pega.com/discussion/constellation-automatically-populating-default-values-when-adding-new-rows-embedded-data)**
>
> Use Case Description: In many business scenarios, users are required to add multiple records for a specific entity within a form, such as entering multiple addresses, contacts, or line items. To streamline data entry and enhance user experience, it...

I hope this helps to get you start with your requirements. Please let me know if you have any questions.

---

<div class="post-metadata">

**Author:** ![PoojaK137](https://avatars.discourse-cdn.com/v4/letter/p/74df32/32.png) [@PoojaK137](https://forums.pega.com/u/PoojaK137)\
**Post date:** [June 20, 2025, 8:33am UTC](https://forums.pega.com/t/how-we-can-create-canada-address-lookup-in-pega-infinity-24-2/9601/3 "2025-06-20T08:33:28Z")

</div>

@RameshSangili thanks for your response. But I want to implement Address lookup using AddressCompleteKey so in pega infinity don’t have option to refer filed value as html fragments output so I am searching for how we can create view that refer html fragments output or something different solution.

Thank you.

---

<div class="post-metadata">

**Author:** ![Sairohith](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/sairohith/32/23362_2.png) [@Sairohith](https://forums.pega.com/u/Sairohith)\
**Post date:** [July 10, 2025, 5:45am UTC](https://forums.pega.com/t/how-we-can-create-canada-address-lookup-in-pega-infinity-24-2/9601/4 "2025-07-10T05:45:41Z")

</div>

@PoojaK137

To create a Canada Post Address Lookup in Pega 24.2 Constellation using AddressCompleteKey, first get the API key from Canada Post’s AddressComplete service. Then, create a REST connector in Pega that calls the AddressComplete API using the key and user’s input (like postal code or street name). Next, create a data page that uses this connector and accepts a search term as a parameter. In the UI, add a text input field with suggestions enabled using the data page. When the user types, suggestions will appear from the API. If needed, you can also make another API call to get the full address details based on the selected result. Finally, populate the full address fields in the case from the selected address. This allows users to quickly find and fill in Canadian addresses
