setting-up-a-data-warehouse-source
ما الذي تفعله
يرشدك هذا الدليل إلى ربط مصدر بيانات خارجي بمستودع بيانات PostHog للمرة الأولى. وهو موجه إلى من يريدون بيانات الأعمال، مثل المدفوعات أو سجلات العملاء، بجوار بيانات منتجهم.
متى تستخدمها
- ✓عندما تريد ربط Stripe أو Postgres أو HubSpot أو مصدر آخر بـ PostHog لأول مرة.
- ✓عندما تريد اختيار الجداول التي تُستورد وعدد مرات مزامنتها.
- ✓عندما لا تعرف أنواع مصادر البيانات التي يدعمها PostHog.
رابط المهارة
https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/setting-up-a-data-warehouse-source/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“من فضلك اربط حساب Stripe الخاص بي بـ PostHog واستورد الجداول الرئيسية بإعدادات مزامنة مناسبة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يتحقق الوكيل من بيانات دخولك عبر رابط آمن، ويجد الجداول ويفعّلها بإعدادات مزامنة مناسبة في خطوة واحدة. وللتحكم الأكبر يمكنه أن يرشدك إلى اختيار الجداول واحداً واحداً.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Setting up a data warehouse source
Use this skill when the user wants to connect an external data source to PostHog's data warehouse for the first time.
Default to the one-step flow: data-warehouse-source-setup validates credentials, discovers every table, enables
them with sensible sync defaults (incremental where possible), and creates the source in a single call — no
schemas array to assemble. For credentials, hand the user a secure browser link with data-warehouse-source-connect-link
instead of collecting secrets in chat. Only drop to the manual wizard → db-schema → create flow when the user wants to
hand-pick which tables sync or set non-default sync types per table.
When to use this skill
- The user wants to connect a new source: "connect Stripe", "import my Postgres orders table", "sync Hubspot contacts"
- The user isn't sure what source types PostHog supports
- The user has credentials but doesn't know how to structure the
schemaspayload - The user wants guidance on which sync method to pick per table
Available tools
| Tool | Purpose |
|---|---|
data-warehouse-source-connect-link |
Preferred for credentials — get a secure browser/OAuth link so the user authenticates without pasting secrets in chat |
data-warehouse-source-setup |
Preferred to create — one call: validate creds, discover tables, apply sync defaults, create the source |
external-data-sources-wizard |
Discover which source types exist and what fields each needs (advanced flow) |
external-data-sources-db-schema |
Validate credentials and list tables with available sync methods per table (advanced flow) |
external-data-sources-create |
Advanced create — requires a schemas array built from the db-schema response |
external-data-sources-check-cdc-prerequisites-create |
Postgres CDC pre-flight check (optional, only for Postgres CDC) |
external-data-sources-webhook-info-retrieve |
Check if a source supports webhooks and whether one has been registered |
external-data-sources-create-webhook-create |
Register a webhook with the external service after source creation |
external-data-sources-update-webhook-inputs-create |
Supply the signing secret manually when auto-registration failed |
external-data-sources-list |
After creation, confirm the source is listed and see its initial status |
external-data-schemas-list |
See per-table sync status once the source is created |
external-data-destinations-list |
See existing destinations, including the PostHog warehouse |
external-data-destinations-connect-link |
Secure browser link where the user enters a destination's credentials; returns nothing secret |
external-data-destinations-create |
Create a destination from the integration the connect page saved |
external-data-destinations-add-sources |
Attach existing sources to a destination |
external-data-sources-destinations-update |
Set a source's full destination list, for example to keep the PostHog warehouse before attaching |
external-data-destinations-test-connection |
Diagnose a destination that is failing or paused (does not resume it) |
الأسئلة الشائعة
هل يجب أن ألصق كلمات المرور في المحادثة؟
لا. يعطيك الوكيل رابطاً آمناً في المتصفح لإدخال بيانات اعتمادك.
هل أستطيع اختيار الجداول التي تُزامن؟
نعم. الإعداد اليدوي يتيح لك اختيار الجداول وتحديد نوع مزامنة مختلف لكل جدول.
كيف يختار الوكيل إعدادات المزامنة؟
يستخدم المزامنة التزايدية حيث أمكن، وهي تلتقط الصفوف الجديدة أو المتغيرة فقط.
التفاصيل
الوصف الأصلي من المؤلف
Guide the user through connecting a new data warehouse source — Postgres, MySQL, Stripe, Hubspot, MongoDB, Salesforce, BigQuery, Snowflake, and so on. Use when the user wants to "connect Stripe", "import data from Postgres", "add a new data source", "sync my warehouse tables", or wants to pick sync methods for each table. Walks through source-type discovery, credential validation, table discovery, per-table sync_type selection, and the final create call. Also covers picking a good prefix, what to do right after creation, and sending a source's tables to the user's own warehouse (Snowflake, Big
repo: PostHog/posthog
الشعبية
- نجوم GitHub
- 41k
- الترتيب
- #6969
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
depot-ci
41kيساعد وكيلك على إعداد سير عمل Depot CI وتشغيله، وهو بديل لـ GitHub Actions، بما في ذلك نقل سير العمل الحالي وقراءة سجلات التشغيل.
depot-container-builds
41kيساعد وكيلك على بناء صور Docker على بُنّاة Depot البعيدين، بما في ذلك الصور متعددة المنصات والدفع إلى السجلات وإصلاح أخطاء البناء.
depot-github-runners
41kيساعد وكيلك على نقل مهام GitHub Actions إلى مشغّلات Depot المُدارة، واختيار أحجامها وتسمياتها، وإصلاح مشاكل إعدادها.
editing-agents-md
41kيساعد وكيلك على تحديد ما إذا كانت القاعدة تنتمي إلى ملف AGENTS.md أو CLAUDE.md، وكتابتها بطريقة تُتَّبع دون تضخيم الملف.
مهارات مشابهة
discrawl
394kيتيح لوكيلك البحث في أرشيف محلي محفوظ لرسائل Discord وتلخيصه، والتحقق من مدى حداثته، وقراءة الرسائل المباشرة.
clickhouse-io
280kيساعد وكيلك على تحسين الاستعلامات والمخططات في ClickHouse وتطبيق أفضل ممارسات التحليل عالي الأداء، ويفيد عندما تكون الاستعلامات التحليلية بطيئة.
scientific-db-pubmed-database
280kيساعد وكيلك على البحث عن المقالات العلمية في المجال الطبي الحيوي. مفيد للبحوث التي تحتاج إلى معلومات طبية محددة.