# Integrate PDF.JS Express in Salesforce Lightning Component

**URL:** <https://pdfjs.community/t/integrate-pdf-js-express-in-salesforce-lightning-component/442>\
**Category:** Technical Support\
**Created:** [January 13, 2021, 7:23am UTC](https://pdfjs.community/t/integrate-pdf-js-express-in-salesforce-lightning-component/442 "2021-01-13T07:23:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anand.sharma3](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anand.sharma3](https://pdfjs.community/u/anand.sharma3)\
**Post date:** [January 13, 2021, 7:23am UTC](https://pdfjs.community/t/integrate-pdf-js-express-in-salesforce-lightning-component/442/1 "2021-01-13T07:23:42Z")

</div>

**PDF.js Express Version**

**Detailed description of issue**  
Hello, I have a requirement to provide ability to annotate, Comment (Edit) the pdf file within the salesforce instance using PDF.JS Express only.  
I just want to know whether this is compatible with Salesforce Lightning Component, If so can you please provide a sample code ( For Demo purpose) so that I can provide a demo to the client.

**Expected behaviour**  
Provide a screenshot or description of the expected behaviour

**Does your issue happen with every document, or just one?**  
Answer here

**Link to document**  
{Provide a link to the document in question if possible}

**Code snippet**  
{Provide a relevant code snippet}

---

<div class="post-metadata">

**Author:** ![anand.sharma3](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anand.sharma3](https://pdfjs.community/u/anand.sharma3)\
**Post date:** [January 13, 2021, 4:44pm UTC](https://pdfjs.community/t/integrate-pdf-js-express-in-salesforce-lightning-component/442/2 "2021-01-13T16:44:45Z")

</div>

@Logan Can you Help me out here please.

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [January 14, 2021, 6:32pm UTC](https://pdfjs.community/t/integrate-pdf-js-express-in-salesforce-lightning-component/442/3 "2021-01-14T18:32:37Z")

</div>

Hey there!

As long as the following conditions can be met in a Salesforce environment, Express should work:

- A call to our authorization server can be made
- JS workers can be loaded
- The salesforce component lives on a single domain

Unfortunately we do not have any sample code for this.

If you have questions or run into problems when trying to implement into Salesforce, please let me know!

Thanks!  
Logan
