# Integration with third programm

**URL:** <https://community.brightpattern.com/t/integration-with-third-programm/486>\
**Category:** API and Integrations\
**Tags:** api\
**Created:** [August 25, 2021, 9:09am UTC](https://community.brightpattern.com/t/integration-with-third-programm/486 "2021-08-25T09:09:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ProSergeant](https://sea2.discourse-cdn.com/flex020/user_avatar/community.brightpattern.com/prosergeant/32/251_2.png) [@ProSergeant](https://community.brightpattern.com/u/ProSergeant)\
**Post date:** [August 25, 2021, 9:09am UTC](https://community.brightpattern.com/t/integration-with-third-programm/486/1 "2021-08-25T09:09:27Z")

</div>

Hi everyone, i can`t understand how i can make a widget which can a make call. For example, i have web site, I have a button, and clicking on which a call occurred through a bright pattern, i try javascript integration (bpspat.api.dialNumber("87273334455");) , but this don`t work, all returns are undefined. What am I doing wrong?  
P.S.: Agent desktop chrome extension is running and i add `<script type="text/javascript" src="https://demov5_kz.hostedcc.ru/agentdesktop/libs/servicepatternapi-dev.js"></script>` in head

with best regards Sergey

---

<div class="post-metadata">

**Author:** ![Neil.Austin](https://avatars.discourse-cdn.com/v4/letter/n/eb9ed0/32.png) [@Neil.Austin](https://community.brightpattern.com/u/Neil.Austin)\
**Post date:** [August 27, 2021, 5:13pm UTC](https://community.brightpattern.com/t/integration-with-third-programm/486/2 "2021-08-27T17:13:38Z")

</div>

Sergey,

Are you calling this function from JS loaded with a screen pop? It won’t work from a separate tab or iframe (BP correct me if I am wrong).

I heard there is a way to effect dial from another via something related to branding (BP?).

Neil

---

<div class="post-metadata">

**Author:** ![ProSergeant](https://sea2.discourse-cdn.com/flex020/user_avatar/community.brightpattern.com/prosergeant/32/251_2.png) [@ProSergeant](https://community.brightpattern.com/u/ProSergeant)\
**Post date:** [August 31, 2021, 4:39am UTC](https://community.brightpattern.com/t/integration-with-third-programm/486/3 "2021-08-31T04:39:11Z")

</div>

Thank you Neil for you answer,  
i have another question, how i can sign up in [help.brightpattern.com](http://help.brightpattern.com) to see API specification for dotNet integration?

---

<div class="post-metadata">

**Author:** ![sergey.menshikov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.brightpattern.com/sergey.menshikov/32/6_2.png) [@sergey.menshikov](https://community.brightpattern.com/u/sergey.menshikov)\
**Post date:** [September 1, 2021, 4:48pm UTC](https://community.brightpattern.com/t/integration-with-third-programm/486/4 "2021-09-01T16:48:38Z")

</div>

Apologies, the doc was offline - should be up now.
