Msingi wa maarifa

Unganisha akaunti yako ya GitHub kwa kutumia tokeni ili tovuti zako ziweze kupelekwa moja kwa moja kutoka kwenye hazina

Unda token ya GitHub yenye viwango vya kina kwa ajili ya hazina unazotuma na uiunganishe, ili kusukuma data kutume tovuti yako na matawi yapate mambo ya awali.

What connecting it does for you

Connecting GitHub with a token lets a site deploy from one of your repositories: push to the branch and the site updates. It also lets us publish to GitHub Pages on your account where you choose that as a site's host.

If your repositories belong to an organisation, prefer the Zinn® GitHub app instead — see Install the Zinn® GitHub app. A token belongs to one person and stops working when they leave.

Before you start

A GitHub account with access to the repositories you want to deploy. If they belong to an organisation, an owner may have to approve fine-grained tokens for it.

1. Create the key at GitHub

On GitHub, click your profile picture, then Settings → Developer settings → Personal access tokens → Fine-grained tokens → Generate new token. Name it and choose an expiration. Under Repository access choose Only select repositories and pick the ones you deploy — the narrowest access that works.

Under Repository permissions give Read and write on:

  • Contents
  • Pages
  • Administration

Press Generate token and copy it — GitHub shows it once.

2. Connect it here

Open Integrations in your dashboard and choose Connect an account. Pick Code hosting as the group and GitHub as the account, fill in API token, and press Connect account.

We test what you paste before anything is saved. A key that does not work is never stored, and the answer says what was wrong with it. A key that works is kept encrypted in our secrets vault — never in our database — and is never shown again, not even to you.

What happens next

  • A site can deploy straight from a repository on this account: choose it on the
  • site's repository connection, pick the repository and branch, and a push deploys.

  • Every other branch can get its own preview, so you can check a change before it reaches the
  • live site.

  • Git-built static hosts such as Render and Azure Static Web Apps use this connection as the
  • source of the site's code.

If it does not connect

A repository does not appear. The token's repository access does not include it. Edit the token on GitHub and add the repository.

It worked and then stopped. Fine-grained tokens expire on the date you chose. Generate a new one and connect it; GitHub emails you before a token expires.

It says the key was rejected. Almost always one of three things: a space or a line break copied with it, a key that has expired, or a key that was revoked or regenerated after you copied it. Create a fresh one and paste it again.

It connects, but something later fails. The key authenticates but lacks a permission the action needs. Create a new key with the permissions listed above, then disconnect the old connection and connect the new key.

Disconnecting

Open Integrations, find the account and press Disconnect. That deletes the stored key at once. Anything that was using it stops at its next action, and the screens that depended on it say so rather than failing quietly.

Disconnecting does not undo what was already done — records, deployments or settings we changed on your account stay as they are. If you think the key itself may have leaked, also revoke it at the vendor; disconnecting removes our copy, not theirs.

Hivi karibuni kutoka kwenye blogu

Mambo ambayo tumekuwa tukiandika kuyahusu upangishaji, SEO na kuendesha tovuti kwa kiwango kikubwa.

SEO na Kujenga Viungo kutoka kwa Tabaka la Uhifadhi: Mtazamo wa Operator wa 2026

Jinsi hosting inavyoathiri uwekaji faharasa na usawa wa viungo mwaka 2026: kuweka kurasa kwenye faharasa, kukagua vikoa vya zamani kabla ya kuvijenga, ujenzi wa viungo bila alama, na mtazamo wa ukweli kuhusu kile ambacho miundombinu inaweza na haiwezi kufanya kwa ajili ya SEO.

Soma chapisho

Kufanya WordPress Iwe Kasi na Salama: Orodha ya Uhakiki ya Utendaji na Programu-jalizi

Orodha ya vitendo vya kuaminika kwa ajili ya WordPress ya haraka na salama: kache ya kiwango cha seva, kache ya vitu kwa kila tovuti, idadi ndogo ya programu-jalizi zinazofaa kutumika, kuweka mfumo wa sasa, na kurasa za WooCommerce ambazo hupaswi kuzifanyia kache kamwe.

Soma chapisho

Jinsi ya Kuchagua Huduma ya Kuegesha Tovuti Inayosimamiwa mnamo 2026: Mwongozo wa Mnunuzi

Kile kinachotofautisha mwenyeji unaosimamiwa vizuri na seva ya bei rahisi yenye paneli ya udhibiti — wahamiaji, nakala rudufu, utengaji, akiba halisi na upanuzi wa kweli — na jinsi ya kukitathmini kabla ya kujitolea.

Soma chapisho

Soma blogu

Bado umekwama?

Usaidizi umejumuishwa kwenye kila mpango, huduma ya msaada iko wazi saa 24 kwa siku, na unaweza kutuandikia kwa lugha yoyote kati ya lugha zetu 58 — tunakujibu kwa lugha yako.

Wasiliana na usaidizi Makala zote