Power BI Integration
Easily export Agiloft data to Power BI for analysis by setting up a Power BI direct connector for your KB.
This integration requires the Advanced or Premium edition of Agiloft.
To set up the connector:
- Open Power BI.
- Go to the Power Query Editor.
- Click New Source and select Blank Query.
- Open the Advanced Editor.
Paste the following code block in the editor:
In the Advanced Editor, replace the placeholder values in the code:
In the loginUrl value:
Replace the first segment with the URL of your KB. This should begin with
https://and end with
Replace PowerBI and PASSWORD with the credentials for the user account you will use to pass the data to Power BI. Make sure the account has permission to read the data that will be passed to Power BI, and is part of at least one group that has permission to use REST services (Setup > System > Manage Web Services).
Replace example_kb with your KB name. The name is located in the top right-hand corner of your KB near the Help icon.
- Then, go to Setup > Access > Automatic Login Hotlinks and use the Encrypt Hotlink section to encrypt the URL. Replace the entire example URL in the quotation marks with the encrypted URL you generated.
- Make sure the line includes quotation marks at the beginning and end of the URL, and a comma after the final quotation mark.
In the loginRequestBody value, replace example_KB with the name of your KB.
- In the apiUrl value, replace the following:
- Replace the first segment with the URL of your KB, just like you did in step 6a.
- Replace example_KB with the name of your KB.
- Replace example_table with the logical name of the table you want to import data from. For example, contract. Be sure to include
search?lang=en"after the table name, as shown in the example above.
- In the body value, you can determine which fields you'd like to import from the table. Simply replace the example placeholders with the logical names of the fields you'd like to use. For example, contract_amount. You can change the number of fields by adding or removing code to this section. Make sure you always include an ID field.
- Click Done.
- Repeat the process above beginning at step 3 until you've added all the table data you want to use in Power BI.