{"id":5289,"date":"2017-05-01T15:48:59","date_gmt":"2017-05-01T07:48:59","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=5289"},"modified":"2025-05-08T15:50:26","modified_gmt":"2025-05-08T07:50:26","slug":"how-to-configure-the-pi-adaptor-and-fetch-tags","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/creating-a-tag-datasource\/how-to-configure-the-pi-adaptor-and-fetch-tags\/","title":{"rendered":"How to Configure the PI Adaptor and Fetch Tags"},"content":{"rendered":"<p class=\"intro-text\">Sometimes, the most difficult thing in <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/creating-a-tag-datasource\/\">configuring an adaptor<\/a> to is deciding what type of authentication to use.<\/p>\n<p class=\"intro-text\">The <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/pi-adaptor\/\">PI Adaptor<\/a> will support all 3 authentication options that PI supports:<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 5px;\"><strong>Named users<\/strong><\/td>\n<td>\n<p>Named users is when you set up separate users and passwords in PI and you use those for permissions on tags. \u00a0This setup is not recommended by OSI.<\/p>\n<p>However, we still support this authentication method if your PI server is set up for this method.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 5px;\"><strong>Windows Authentication<\/strong><\/td>\n<td>\n<p>This is popular with many users and is recommended by OSI. For Windows Authentication \u00a0to work, you need to run the Data Broker service and <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/time-series-tag-fetch\/\">Tag Discovery Console App<\/a> as the domain user that has the permission to access PI and leave the username\/password blank in the Adaptor configuration.<\/p>\n<p>Note:\u00a0 Using the Windows username\/password in the adaptor won\u2019t work.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 5px;\"><strong>PI Trust<\/strong><\/td>\n<td>\n<p>PI is configured with the IP address of the server, and it then will allow any request from that server without a username\/password being supplied.<\/p>\n<p>Once PI is configured to allow the IP address of the server, configure the adaptor with a blank username\/password.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"left-bar-blue\"><strong>Which one you need to use will depend on how the PI Server has been set up<\/strong>.\u00a0 You will need to contact a system administrator\u00a0at your site as to what methods are set up in PI, and which one they want you\u00a0to use.<\/p>\n<p class=\"intro-text\">Here\u2019s an example of how we connect to a PI server using Named Users:<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/09\/Pisetup.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5291 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/09\/Pisetup.png\" alt=\"Pisetup\" width=\"827\" height=\"462\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/09\/Pisetup.png 827w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/09\/Pisetup-150x84.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/09\/Pisetup-768x429.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/09\/Pisetup-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/09\/Pisetup-36x20.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/09\/Pisetup-48x27.png 48w\" sizes=\"auto, (max-width: 827px) 100vw, 827px\" \/><\/a>\u00a0<\/p>\n<p class=\"intro-text\">Once you have set up the PI Adaptor, you can proceed to <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/time-series-tag-fetch\/\">fetch tags<\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you're having difficulty deciding what authentication to use when configuring the PI Adaptor, this article's for you.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/creating-a-tag-datasource\/how-to-configure-the-pi-adaptor-and-fetch-tags\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":70251,"parent":4098,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[4],"tags":[98,553,304,221],"class_list":["post-5289","page","type-page","status-publish","has-post-thumbnail","hentry","category-explainer","tag-adaptors","tag-authentication","tag-pi","tag-tag-discovery","Product-srv"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/5289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=5289"}],"version-history":[{"count":1,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/5289\/revisions"}],"predecessor-version":[{"id":46157,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/5289\/revisions\/46157"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/4098"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/70251"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=5289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=5289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=5289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}