S-Docs supports a variety of integrations with DocuSign. Since integrations may vary from org to org depending on the use case, this document aims to provide the base knowledge and resources required to develop your own custom integration.
To use DocuSign with S-Docs, you can use anchor tags in your S-Docs template (see: https://support.docusign.com/guides/dfs-admin-guide-automatic-anchor-text-and-tags ), generate the document, and then manually send it through DocuSign as you would any other documents.
Alternative to manually sending the document, you can develop an integration to send the document automatically. Setting up automated integrations require using DocuSign's API, which you can learn about more at: https://www.docusign.com/developer-center/api-overview
Here is a brief overview of how you might integrate S-Docs with DocuSign:
1) Create a process in Process Builder to generate the document, and then set a flag.
2) Create an Apex trigger, based on the flag, to grab the generated doc attachment and send the attachment to the Docusign API: https://www.docusign.com/developer-center/api-overview
3) Use the DocuSign API to send the document to be signed.