Connecting 1С-Bitrix

📅 June 4, 20262 min read
Table of Contents

How the Integration Works

AI SEO Writer publishes articles to 1С-Bitrix via a PHP script (seowriter.php) that you install on your server. The script receives article data and creates an info block element via Bitrix's internal API.

Step 1: Download and Install the Script

  1. In the site connection form, select 1С-Bitrix as the platform
  2. Click Download seowriter.php
  3. Upload the file to the root of your site — the same directory as the /bitrix/ folder
  4. Open the file in a text editor and replace CHANGE_ME with a secret key of your choice
[SCREENSHOT: seowriter.php open in a text editor showing the CHANGE_ME placeholder replaced with a custom key]

Step 2: Fill in the Connection Form

  • Script URL — full URL of the uploaded file, e.g. https://yoursite.ru/seowriter.php
  • API Key — the same secret key you put in the script
  • Info Block ID — numeric ID of the Bitrix info block where articles will be created (e.g., 5)
  • Info Block Type — usually news
  • Section ID (optional) — default section for new articles
[SCREENSHOT: Bitrix connection form in AI SEO Writer with all fields filled in and Test connection button]

Step 3: Test the Connection

Click Test connection. If successful, click Save.

Common Errors

  • Script not accessible via URL — verify that seowriter.php opens in a browser
  • Secret key mismatch — the key in the form must exactly match the key in the file
  • Wrong info block ID — check in Bitrix admin panel under Content → Info Blocks

Was this article helpful?