Installation
Installation
Section titled “Installation”Ready to take control of your n8n fleet? This guide will walk you through setting up Kizuna on your local machine or server.
Prerequisites
Section titled “Prerequisites”Before you begin, ensure you have the following installed:
- Node.js: Version 18.17.0 or higher.
- Git: For cloning the repository.
- Supabase Account: You’ll need a Supabase project (free tier is sufficient) for the database and authentication.
- n8n Instances: At least one n8n instance to manage.
Step-by-Step Setup
Section titled “Step-by-Step Setup”1. Clone the Repository
Section titled “1. Clone the Repository”Clone the Kizuna repository to your local machine.
git clone https://github.com/octadira/kizuna.gitcd kizuna2. Install Dependencies
Section titled “2. Install Dependencies”Install the necessary dependencies using npm.
npm install3. Configure Supabase
Section titled “3. Configure Supabase”Kizuna uses Supabase for authentication and state management.
- Create a new project on Supabase.
- Go to Project Settings -> API.
- Copy your
Project URLandanonpublic key.
4. Environment Variables
Section titled “4. Environment Variables”Create a .env.local file in the root of your project:
NEXT_PUBLIC_SUPABASE_URL=your_project_urlNEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
# Optional: For encryptionN8N_ENCRYPTION_KEY=generate_a_secure_random_string_32_chars5. Database Setup
Section titled “5. Database Setup”Run the initialization script to set up your database schema. You can find the SQL script in setup.sql in the root of the repo.
- Open the SQL Editor in your Supabase Dashboard.
- Copy the contents of
setup.sql. - Run the query.
6. Start the Server
Section titled “6. Start the Server”Launch the development server.
npm run devOpen http://localhost:3000 in your browser. You should see the Kizuna login page.
Troubleshooting
Section titled “Troubleshooting”Database Erors
Section titled “Database Erors”If you see Row Level Security (RLS) policies errors, ensure you ran the complete setup.sql script which includes the policy definitions.
Images not loading?
Section titled “Images not loading?”Ensure your NEXT_PUBLIC_SUPABASE_URL is correct and that you have enabled Storage if required (though Kizuna primarily uses the DB).