Skip to main content
Participant
June 25, 2021
Answered

Adding multiple Embed PDF API to same project

  • June 25, 2021
  • 2 replies
  • 843 views

Hi,

 

We have a requirement to implement the Embed PDF API to all our website domains and for our lower environments too.

Embed PDF API accepts only one domain? - Is this right?

Also can we add multiple Embed PDF APIs to the same project?

We have 20 unique urls(prod & non-prod) - (www.xyz.company.com, wwwqa.xyz.company.com)

 

Can someone help me to understand how better we can configure in Developer console?

This topic has been closed for replies.
Correct answer Joel Geraci

You can use just "company.com" to cover your entire domain with one credential.

2 replies

umair14
Participating Frequently
June 30, 2021

You can make it configurable. Reading domain specific CLIENT_IDs from your application configurations or properties file.

Participant
June 25, 2021

Hi Arun,

 

We hope you are in good health!! Sending you response inline below.

 

>>
Embed PDF API accepts only one domain?

>

Yes, while creating the credentials you can create one credential for one domain.

 

>>

Also can we add multiple Embed PDF APIs to the same project?

>
You can use single credentials for you same domain(for which credentials are created) at multiple places.

>>

We have 20 unique urls(prod & non-prod) - (www.xyz.company.com, wwwqa.xyz.company.com)

>

I think if "xyz.company.com" is common for all the environments, you can try to use same credentials created for "xyz.company.com" domain. 

I hope i have answered your qeustions. Please let us know if you face any issue while using the credentials.

 

 

Thanks

Harender

 

Joel Geraci
Community Expert
Joel GeraciCommunity ExpertCorrect answer
Community Expert
June 25, 2021

You can use just "company.com" to cover your entire domain with one credential.