INFACore SDK for Python > Microsoft Fabric integration with INFACore > Step 2. Specify the remote agent engine details for Microsoft Fabric
  

Step 2. Specify the remote agent engine details for Microsoft Fabric

After installing the SDK and logging in to INFACore from Microsoft Fabric, configure Microsoft Fabric as an intermediate storage.
Perform the following tasks in the INFACore SDK Python code to configure Microsoft Fabric as an intermediate storage:
  1. 1Enter the compute engine type as Remote and the runtime environment name.
  2. 2Enter the ecosystem type and the configured Microsoft Fabric OneLake connection name.
Here is an example Python code snippet that demonstrates how to use INFACore with the remote agent details in a Microsoft Fabric environment:
user_config = {

"login": {

"username": "infacore",

"password": "<password>",

"env_type": "test",

"url": "https://dmr-us.informaticacloud.com"

},

"compute_engine": {

"type": "remote",

"runtime_env_name": "<abc01.infa.com>",

"install": False

},

"ecosystem" : {

"type": "Microsoft Fabric OneLake",

"staging" :{

"connection_name" : "OneLake_Prod"

}

}

}
You can perform various operations or access functionalities that INFACore offers within your Microsoft Fabric Notebook.
When you run the code, INFACore establishes a connection with Microsoft Fabric using the specified runtime environment. It uses the connection to stage the data in Microsoft Fabric when you read from or write to the configured Microsoft Fabric endpoint.
For information on available INFACore functionalities and how to use specific methods and parameters, see the SDK Reference for Python documentation.