n8n-docs/docs/integrations/builtin/credentials/git.md
2023-07-18 15:33:16 +01:00

30 lines
1.2 KiB
Markdown

---
title: Git credentials
description: Documentation for Git credentials. Use these credentials to authenticate Git in n8n, a workflow automation platform.
contentType: integration
---
# Git credentials
You can use these credentials to authenticate the following nodes with Git.
- [Git](/integrations/builtin/core-nodes/n8n-nodes-base.git/)
## Prerequisites
Create an account on [GitHub](https://github.com), [GitLab](https://about.gitlab.com/), or similar platforms.
## Using Username and Password
1. Enter a name for your credentials in the ***Credentials Name*** field in the 'Git' credentials in n8n.
2. Enter your GitHub, GitLab (or similar platforms) username in the ***Username*** field in the 'Git' credentials in n8n.
3. Enter your GitHub, GitLab (or similar platforms) password in the ***Password*** field in the 'Git' credentials in n8n.
4. Click the ***Create*** button to create your credentials in n8n.
The following video demonstrates the steps mentioned above.
<div class="video-container">
<iframe width="840" height="472.5" src="https://www.youtube.com/embed/RHyW--ZLstE" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>