Twenty CRM: Hướng dẫn cài đặt và sử dụng hệ thống CRM mã nguồn mở hiện đại nhất
Twenty CRM là nền tảng quản trị quan hệ khách hàng (CRM) mã nguồn mở (Open-source) đang thu hút sự chú ý lớn nhờ giao diện hiện đại, tốc độ cực nhanh và khả năng tùy biến vô hạn. Bài viết này samset.net sẽ hướng dẫn bạn chi tiết từ cách cài đặt đến các bước sử dụng cơ bản để triển khai cho doanh nghiệp.
1. Twenty CRM là gì?

Twenty là giải pháp CRM thế hệ mới được xây dựng để thay thế các hệ thống phức tạp và đắt đỏ như Salesforce.
![]()
Ưu điểm: Hoàn toàn miễn phí (Self-hosted), giao diện tối giản (tương tự Notion), hỗ trợ Docker và có cộng đồng phát triển mạnh mẽ.
Công nghệ: Xây dựng trên nền tảng TypeScript, NestJS và PostgreSQL.
2. Hướng dẫn cài đặt Twenty CRM bằng Docker
Đây là phương pháp nhanh nhất và ổn định nhất để triển khai Twenty trên VPS hoặc Server riêng.
Chuẩn bị:
Server chạy Ubuntu 22.04 trở lên.
Đã cài đặt Docker và Docker Compose.
Các bước thực hiện:
Bước 1: Cài đặt Docker và Docker Compose
# Cập nhật package list
sudo apt-get update
# Cài đặt các dependencies cần thiết
sudo apt-get install -y ca-certificates curl gnupg lsb-release
# Thêm Docker GPG key
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# Thiết lập Docker repository
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# Cài đặt Docker Engine và Docker Compose
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
# Kiểm tra cài đặt
sudo docker run hello-worldBước 2: Tạo thư mục làm việc
# Tạo và di chuyển vào thư mục cho Twenty
mkdir -p /opt/twenty
cd /opt/twentyBước 3: Download Docker Compose file
# Tải file docker-compose.yml chính thức
curl -O https://raw.githubusercontent.com/twentyhq/twenty/main/packages/twenty-docker/docker-compose.yml
# Tải file .env mẫu
curl -o .env https://raw.githubusercontent.com/twentyhq/twenty/main/packages/twenty-docker/.env.exampleBước 4: Cấu hình Environment Variables
# Mở file .env bằng editor
nano .env
Các biến cơ bản cần cấu hình:
# URL của server (thay localhost bằng domain/IP của bạn)
SERVER_URL=http://localhost:3000
# Cấu hình PostgreSQL
PG_DATABASE_URL=postgres://twentyuser:twentypass@db:5432/default
# Secrets cho authentication (tạo chuỗi random mạnh)
ACCESS_TOKEN_SECRET=your-random-secret-here
LOGIN_TOKEN_SECRET=your-random-secret-here
REFRESH_TOKEN_SECRET=your-random-secret-here
FILE_TOKEN_SECRET=your-random-secret-here
# Storage type (local hoặc s3)
STORAGE_TYPE=local
STORAGE_LOCAL_PATH=.local-storage
# Message Queue
MESSAGE_QUEUE_TYPE=bull-mq
Bước 5: Khởi chạy
# Khởi động các containers
docker compose up -d
Bước 6: Truy cập Twenty CRM
http://localhost:3000
3. Hướng dẫn sử dụng Twenty CRM cơ bản
3.1. Thiết lập Workspace và User
Ngay lần đầu truy cập, bạn sẽ được yêu cầu tạo tài khoản Admin và thiết lập tên Workspace (không gian làm việc). Tại đây, bạn có thể mời thêm thành viên vào team thông qua Email.
3.2. Quản lý Objects (Dữ liệu khách hàng)
Twenty chia dữ liệu thành các đối tượng chính:
People: Quản lý thông tin cá nhân khách hàng.
Companies: Quản lý thông tin doanh nghiệp.
Opportunities: Quản lý các cơ hội kinh doanh/đơn hàng.
3.3. Tùy chỉnh Fields (Trường dữ liệu)
Điểm mạnh của Twenty là cho phép bạn thêm bớt các trường dữ liệu dễ dàng:
Vào Settings > Data Model.
Chọn Object cần tùy chỉnh (Ví dụ: People).
Nhấn Create Field để thêm các thông tin như: Ngày sinh, Sở thích, Nguồn khách…
4. Các tính năng nâng cao không nên bỏ qua
Pipeline Management: Theo dõi tiến độ đơn hàng qua dạng bảng Kanban trực quan.
Messaging Integration: Kết nối trực tiếp với tài khoản Gmail/Outlook để quản lý Email ngay trên CRM.
Workflow Automation: Tự động hóa các tác vụ như gửi thông báo khi có khách hàng mới hoặc thay đổi trạng thái đơn hàng.
5. Tài liệu tham khảo và Nguồn tài nguyên
Để làm chủ hoàn toàn hệ thống, bạn có thể tham khảo thêm các nguồn chính thức sau:
Trang chủ dự án: twenty.com
Tài liệu hướng dẫn (Documentation): docs.twenty.com
Kho mã nguồn GitHub: github.com/twentyhq/twenty
Tổng kết
Với sự linh hoạt và giao diện thân thiện, Twenty CRM là lựa chọn tuyệt vời cho các doanh nghiệp muốn tự chủ về dữ liệu và tối ưu quy trình vận hành. Chúc các bạn cài đặt thành công!




Comments
The customer support team is top notch. They answered all my questions about the promo codes almost instantly. Great service at phjilip8.
Really impressed with the withdrawal speed here. It is rare to find a site that pays out this quickly. Truly trust jili98login with my deposits.
The game variety on this site is insane. I love how smooth the interface is even on my old phone. Highly recommend pkbw777
I was skeptical at first but the withdrawals are legit and quick. It’s refreshing to find a site like winxx705 that actually pays out.
I was surprised by how easy it is to withdraw my winnings. No hidden fees and no long waits. I really trust pkwwwb777.
Finally a platform that actually works smoothly in my region. The login process is seamless and the app performance is top notch. bajiloginpakistanapp is definitely the way to go.
The energy on this site is awesome. The games are exciting and the promotions are always updated. Go to phfierylogin
Finally found a platform that actually delivers on its promises. The game variety is impressive and I had a great experience with the support team. Highly recommend krmegawins
Great customer support and even better games. I really appreciate how stable the platform is during peak hours. Keep it up ph7sjili!
Super impressed with the fairness of the games here. I feel like I actually have a chance to win. Really happy with idgg189 so far.
This site has such a friendly community and the games are genuinely addictive. I am having a blast on youknow777game!
No more login issues! I used to struggle with other sites but this one is rock solid. Just head over to j77gamelogin and you’ll be in the game in seconds.
The login process is seamless and the mobile version works perfectly on my phone. It is refreshing to find a site that actually cares about the user experience. Visit phnn7770login
Great to see a platform that caters so well to our local needs. The payment methods are convenient and the odds are very competitive. Keep it up. Join tk444bangladesh