---
title: "Connect and disconnect a provider"
description: "Authorize the minimum provider capability and remove it safely when it is no longer needed."
---

> Documentation Index
> Fetch the complete documentation index at: https://help.pi.lk/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect and disconnect a provider

<p>Pilk opens the provider’s own authorization flow. Credentials and refresh material stay in the secure connection boundary and are not exposed to the web renderer.</p>
<h2 id="do-this">Do this</h2>
<ol>
<li>Open <strong>Settings → Integrations</strong> and select a provider.</li>
<li>Review the requested capability and scope.</li>
<li>Choose <strong>Connect</strong> and finish authorization on the provider site.</li>
<li>Return to Pilk and confirm the specific capability is Ready.</li>
<li>When disconnecting, review what stops syncing and what local data remains.</li>
</ol>
<h2 id="least-privilege">Least privilege</h2>
<p>Calendar, mail, contacts, banking, payroll, and invoice access are separate. Do not authorize a broader capability merely because it uses the same provider account.</p>
<h2 id="revocation">Revocation</h2>
<p>Disconnect in Pilk, and revoke the app in the provider when you need to terminate all tokens. Local imported records follow Pilk’s retention and deletion controls.</p>
<h2 id="errors">Errors</h2>
<p>Expired consent, changed passwords, provider policy, missing partner approval, and temporary outages can all affect readiness. Follow the displayed recovery action.</p>
<h2 id="good-to-know">Good to know</h2>
<ul>
<li>Verify the provider domain before entering credentials.</li>
<li>Never paste an OAuth token or app password into a Pilk note or support message.</li>
</ul>

Source: https://help.pi.lk/agents-integrations/connect-an-integration/index.mdx
