How to setup Connector for Safran

Modified on Mon, 25 Aug at 10:12 AM

Table of contents


Introduction

In this article, you’ll learn how to set up a Safran connector using the available authentication options. 


Prerequisites

Before creating a Safran connector, ensure you have: 

  • You should have the permission of Setup Admin role to create a connector.
  • Desktop client should be installed on your machine or Autonomous component  should be installed for your tenant.
  • Required authentication details (provided by Tenant Admin).
  • Any custom request headers (provided by Tenant Admin). 

How to create 

  1. Access the IDE web application and navigate to Setup > Connectors
  2. Click on the button +New Connector
    • A modal will appear having the following required fields:
      • Title, Host System, Execution component
  3. Provide a meaningful title.
  4. Select the execution component (Desktop or Autonomous Component).
  5. Select Safran Project from the Host system dropdown. This will populate the following new fields:
    • Required: Authentication Type, URL
    • Optional: Owner, User owner verification (checkbox), Manage Customer Request Headers
  6. Lastly add details to all of the required fields and hit create. 


Please note each connector's URL must be unique otherwise error will be shown



Effect on Connector for selecting different execution component

Authentication types depend on the execution component you choose.


Selecting Desktop client as execution component provides the following options as authentication type

  • AzureAD Authentication
  • Basic Authentication
  • NO Authentication
  • Windows Authentication


While desktop client has more options to authenticate the connector, Autonomous Component provides only three types:

  • Azure Authentication as Application (Client Secret)
  • Basic Authentication
  • No Authentication

Authentication types explained:

Each authentication method has its own setup process. Here's what you need to know


Azure Authentication as Application:

Azure Authentication as Application allows the connector to authenticate using an application identity registered in Azure Active Directory (Azure AD). 



Here is the setting you need to configure, and they are shown with red numbers and described below:

1TitleTitle of the connector
2Host SystemSarfan Project
3Execution ComponentDesktop Client or Autonomous Component
4Authentication TypeAzure Authentication as Application: (Client Secret)
5URLThe URL of the Safran host system where the connector will connect.
6Directory (Tenant) IDThe unique identifier for the Azure AD tenant that owns the application registration
7Application (Client) IDThe identifier of the Azure AD app registration 
8
Scopes
Defines what resources the connector can access.
9Client SecretA secure credential generated during Azure AD app registration. 
10Activity Retrieval Batch Size (optional)Number of activities to retrieve per batch. If your schedule has more than 50k activities, we highly recommend specifying a batch size. Use batch size like 10000.
11Activity Write Batch SizeNumber of activities to create/modify per batch. Use batch size like 500.
12Owner (optional) The designated user or group for this connector.
13Use Owner verification (optional)Toggle to check if owner verification is required. By default, it's unchecked.
14Manage Custom Header (optional)Custom HTTP headers if required by the host system for API 


Note: Consult with your Tenant admin to get the required information 



AzureAD Authentication: 


Here is the setting you need to configure, and they are shown with red numbers and described below:


1
Authentication TypeAzureAD Authentication
2URLThe URL of the Safran host system where the connector will connect.
3Directory (Tenant) IDThe unique identifier for the Azure AD tenant that owns the application registration
4Application (Client) IDThe identifier of the Azure AD app registration.
5
Redirect URI
The redirect URL
6
Activity Retrieval Batch Siz(optional)Number of activities to retrieve per batch. If your schedule has more than 50k activities, we highly recommend specifying a batch size. Use batch size like 10000.
7Activity Write Batch SizeNumber of activities to create/modify per batch. Use batch size like 500.
8Owner (optional) The designated user or group for this connector.
9Use Owner verification (optional)Toggle to check if owner verification is required. By default, it's unchecked.
10Manage Custom Header (optional)Custom HTTP headers if required by the host system for API 


Note: Consult with your Tenant admin to get the required information 



Basic Authentication:


Here is the setting you need to configure, and they are shown with red numbers and described below:

1
Authentication TypeBasic Authentication
2URLThe URL of the Safran host system where the connector will connect.
3

Username

Your username
4PasswordPassword 
5
Activity Retrieval Batch Size (optional)
Number of activities to retrieve per batch. If your schedule has more than 50k activities, we highly recommend specifying a batch size. Use batch size like 10000 
6
Activity Write Batch SizeNumber of activities to create/modify per batch. Use batch size like 500.
7Owner (optional)
The designated user or group for this connector.
8Use Owner verification (optional)
Toggle to check if owner verification is required. By default, it's unchecked.
9Manage Custom Header (optional)
Custom HTTP headers if required by the host system for API 


Note: Consult with your Tenant admin to get the required information 

Windows Authentication:


Here is the setting you need to configure, and they are shown with red numbers and described below:

1
Authentication TypeWindows Authentication
2URLThe URL of the Safran host system where the connector will connect.
3
Activity Retrieval Batch Size (optional)
Number of activities to retrieve per batch. If your schedule has more than 50k activities, we highly recommend specifying a batch size. Use batch size like 10000 
4Activity Write Batch SizeNumber of activities to create/modify per batch. Use batch size like 500.
5Owner (optional)
The designated user or group for this connector.
6Use Owner verification (optional)
Toggle to check if owner verification is required. By default, it's unchecked.
7Manage Custom Header (optional)
Custom HTTP headers if required by the host system for API 


Note: Consult with your Tenant admin to get the required information 



No Authentication:


Here is the setting you need to configure, and they are shown with red numbers and described below:

1
Authentication TypeNo Authentication
2URLThe URL of the Safran host system where the connector will connect.
3
Activity Retrieval Batch Size (optional)
Number of activities to retrieve per batch. If your schedule has more than 50k activities, we highly recommend specifying a batch size. Use batch size like 10000 
4Activity Write Batch SizeNumber of activities to create/modify per batch. Use batch size like 500.
5Owner (optional)
The designated user or group for this connector.
6Use Owner verification (optional)
Toggle to check if owner verification is required. By default, it's unchecked.
7Manage Custom Header (optional)
Custom HTTP headers if required by the host system for API 


Note: Consult with your Tenant admin to get the required information 


Test & Persist

After creating the connector:

  • For Desktop Client execution:

    • Open the IDE Desktop Client

    • Navigate to the Connectors tab

    • Click Test to verify connection

    • Click Persist to fetch schedules and host fields from P6

  • For Autonomous Component execution:

    • Test is done periodically via a background job, but it can be also done using desktop client.

    • Alternatively: Go to Setup > Connectors in the web app, and open the newly created connector and click Persist to force retrieval of schedules and host fields from P6. After persisting, reload the page after a few minutes to verify the updated connector status. 

Checkout this article to find out more about test & persist

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article