> ## Documentation Index
> Fetch the complete documentation index at: https://hub.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesforce Marketing Cloud

> Follow these steps to connect Salesforce Marketing Cloud via the StackOne Hub successfully.

<Warning>
  Ensure you have `Installed Package | Administer` permission. This permission is automatically applied to the Administrator and Marketing Cloud Administrator system-defined roles. Add the permission for a different role or user in the Administration area.
</Warning>

If you've been directed to StackOne to integrate with Salesforce Marketing Cloud, the following steps will help you understand the process and any necessary actions to configure successful integration.

## Create a package (server to server integration)

<Steps>
  <Step title="Open Setup">
    Hover over profile icon and click on the setup option.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Open Setup" src="https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sfmc/image.png?fit=max&auto=format&n=TJXu2uA7nDGkPLKz&q=85&s=7c4a502a51a5ad95d11e303dad222cc9" width="568" height="380" data-path="images/sfmc/image.png" />
    </Frame>
  </Step>

  <Step title="Navigate to Installed Packages">
    Click Apps and then click Installed Packages.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Navigate to Installed Packages" src="https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sfmc/image2.png?fit=max&auto=format&n=TJXu2uA7nDGkPLKz&q=85&s=a40f60ae7f10d0d1e94bbd68c727fdf2" width="1043" height="565" data-path="images/sfmc/image2.png" />
    </Frame>
  </Step>

  <Step title="Create new Package">
    Click on `new` button placed on top-right corner on the installed packages page.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Create new Package" src="https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sfmc/image3.png?fit=max&auto=format&n=TJXu2uA7nDGkPLKz&q=85&s=f1634ec1f76970b21988aaed2f376d98" width="750" height="279" data-path="images/sfmc/image3.png" />
    </Frame>
  </Step>

  <Step title="Fill the details">
    Fill the name of package and description and click on `save` button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Fill the details" src="https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sfmc/image4.png?fit=max&auto=format&n=TJXu2uA7nDGkPLKz&q=85&s=2f202abcac9a790a9ceef9f42d42e2ea" width="1004" height="497" data-path="images/sfmc/image4.png" />
    </Frame>
  </Step>

  <Step title="Add Component">
    Now it's time to add components, click on the `Add Component` button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Add Component" src="https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sfmc/image5.png?fit=max&auto=format&n=TJXu2uA7nDGkPLKz&q=85&s=3bf531abc2deb34f8ea101e3cc06b4b6" width="1598" height="795" data-path="images/sfmc/image5.png" />
    </Frame>
  </Step>

  <Step title="Choose your component type">
    Select `API Integration` and click on `next` button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Choose your component type" src="https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sfmc/image6.png?fit=max&auto=format&n=TJXu2uA7nDGkPLKz&q=85&s=a200da7cc03c54caf1cbad3ffa5be3f7" width="1159" height="580" data-path="images/sfmc/image6.png" />
    </Frame>
  </Step>

  <Step title="Choose your integration type">
    Select `Server to Server` and click on `next` button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Choose your integration type" src="https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sfmc/image7.png?fit=max&auto=format&n=TJXu2uA7nDGkPLKz&q=85&s=7ecea247b6a980201f6068e020cc79eb" width="1051" height="637" data-path="images/sfmc/image7.png" />
    </Frame>
  </Step>

  <Step title="Set Server-to-Server Properties">
    Check all the Assets scope and click on save.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Set Server-to-Server Properties" src="https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sfmc/image8.png?fit=max&auto=format&n=TJXu2uA7nDGkPLKz&q=85&s=eb5c8eb60a3dae525cb586f1b5ec619b" width="1213" height="800" data-path="images/sfmc/image8.png" />
    </Frame>
  </Step>

  <Step title="Get the credentials">
    Now the Credentials are visible on screen, use them to integrate with StackOne.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Set Server-to-Server Properties" src="https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sfmc/image9.png?fit=max&auto=format&n=TJXu2uA7nDGkPLKz&q=85&s=67d6549c199cb2c3db58990267cdde4d" width="1420" height="790" data-path="images/sfmc/image9.png" />
    </Frame>
  </Step>
</Steps>

## Connecting with StackOne

<Steps>
  <Step title="Enter your API credentials">
    Upon reaching the Link Account page, enter the following credentials received in the previous steps:

    * Client ID
    * Client Secret
    * Authentication Base URI

    Proceed by clicking the `Connect` button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Enter your API credentials" src="https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sfmc/image10.png?fit=max&auto=format&n=TJXu2uA7nDGkPLKz&q=85&s=968f7bfbd0dc425a51be5c436e65f753" width="1124" height="768" data-path="images/sfmc/image10.png" />
    </Frame>
  </Step>
</Steps>
