如何与多租户设置集成?

huangapple go评论96阅读模式
英文:

How do I integrate with a multitenant setup?

问题

我正在开发一个CRM产品,有70家公司在使用。这是一个多租户设置。我们目前正在将DocuSign集成到产品中。我们的重要需求是,这70家公司中的每一家都应能够从CRM发送文档以供签署,并且审计跟踪应显示相应的公司作为文档所有者。这里的挑战是,我们需要在不将这70家公司全部引入DocuSign的情况下实现这一目标。如何做到这一点?哪种OAuth设置将帮助我们实现这一目标?

英文:

I'm working on a CRM product that 70 companies use. It is a multi-tenant setup. We're currently integrating DocuSign into the product. Our important requirement is that each of the 70 companies should be able to send documents for signature from the CRM, and the audit trail should show the corresponding company as the document owner. The challenge here is that we need to achieve this without onboarding all 70 companies to DocuSign. How to do this? What kind of OAuth setup will help us achieve this?

答案1

得分: 0

这里的挑战是,我们需要在不让所有70家公司加入DocuSign的情况下实现这一目标。

这意味着您不希望他们拥有DocuSign帐户,我理解,但您仍希望从CRM发送签名文档,审计跟踪应显示相应公司作为文档所有者。

这是无法做到的。因为这两件事情相互矛盾。

如果您有一个单一的帐户,它将显示公司/所有者的名称,并且这将在所有70家公司中保持一致。

您可以使用一个单一的组织,该组织具有多个帐户,以将这些帐户联系在一起。但就DocuSign而言,您确实需要对这些公司进行一些逻辑分隔,否则它们在签名级别将都看起来相同。

英文:

> The challenge here is that we need to achieve this without onboarding
> all 70 companies to DocuSign

This means that you don't want them to have a DocuSign account, I assume, but you still want to

> send documents for signature from the CRM, and the audit trail should
> show the corresponding company as the document owner

You cannot do that. As these two things cotradict.

If you have a single account, it will show the name of the company/owner and that will be fixed across all 70 companies.

You can use a single organization that has multiple accounts for example. That ties the accounts together. But you do need some logical separation of these companies as far as DocuSign is concerned or else they'll all look the same at the signature level.

答案2

得分: 0

Each company that sends signing requests (either directly or via your service) needs their own account.

Either:

  • Each company has their own account with DocuSign
  • Or your company (the ISV) provisions the 70 accounts, one per company.

For the latter, you'd join the DocuSign ISV-L program so you can provision the accounts.

But either way, each company will need their own account.

The easier method is the first one. I'd bet that many of your companies already have a DocuSign account. Your system just needs to offer DocuSign OAuth Authorization Code grant to your customers (the companies). Your software can then send on behalf of the customers.

The "on-boarding" to your account is simple for your customers, they just login with their DocuSign credentials and grant consent to your software the first time they do so.

From the companies' point of view, they just need to purchase a DocuSign account if they don't already have one. That's an easy task.

This is how most of our ISV partners work.

英文:

Each company that sends signing requests (either directly or via your service) needs their own account.

Either:

  • Each company has their own account with DocuSign
  • Or your company (the ISV) provisions the 70 accounts, one per company.

For the latter, you'd join the DocuSign ISV-L program so you can provision the accounts.

But either way, each company will need their own account.

The easier method is the first one. I'd bet that many of your companies already have a DocuSign account. Your system just needs to offer DocuSign OAuth Authorization Code grant to your customers (the companies). Your software can then send on behalf of the customers.

The "on-boarding" to your account is simple for your customers, they just login with their DocuSign credentials and grant consent to your software the first time they do so.

From the companies' point of view, they just need to purchase a DocuSign account if they don't already have one. That's an easy task.

This is how most of our ISV partners work.

答案3

得分: 0

为了在您的组织中使用DocuSign,您可以创建一个单一帐户并设置其来管理多个租户。对于每个租户,您可以创建一个组并分配租户ID作为其名称。然后,为每个租户创建一个用户并将他们添加到各自的组中。

要开始,请使用您的组织凭据登录DocuSign。一旦登录,您可以使用租户ID和组API获取特定租户的组。接下来,从该组中获取用户并使用他们的凭据登录DocuSign以获取JWT令牌。

有了令牌,您现在可以使用DocuSign信封API创建和发送信封。但请确保您为每个租户创建的用户具有必要的权限,以代表该租户创建和发送信封,方法是授予他们创建和发送信封的权限,以代表您的组织的默认用户。

英文:

To use DocuSign for your organization, you can create a single account and set it up to manage multiple tenants. For each tenant, you can create a group and assign a tenant ID as its name. Then, create a user for each tenant and add them to their respective group.

To get started, log in to DocuSign with your organization credentials. Once logged in, you can fetch the group for a specific tenant using the tenant ID and the group API. Next, fetch the user from that group and sign in to DocuSign using their credentials to obtain a JWT token.

With the token, you can now use the DocuSign envelope API to create and send an envelope. However, make sure that the users you create for each tenant have the necessary permissions to create and send envelopes on behalf of the tenant, by granting them envelope creation access to the default user of your organization.

huangapple
  • 本文由 发表于 2023年3月7日 18:37:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/75660881.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定