TYPO3 connection
Step-by-step guide to connecting a TYPO3 website to ALLMEDIA.AI so that news posts and pages can be published automatically.
Requirements
Please clarify these before you start — if any of them is missing, the setup will get stuck.
On the customer side (TYPO3)
- Administrator access to the TYPO3 backend
- Permission to install extensions (backend or Composer)
- The website is publicly reachable via HTTPS
- Optional: SFTP access for troubleshooting
On the ALLMEDIA side
- Access to the right workspace
- Permission to create channel connections
- A channel to which the connection will be assigned later
- Channel connection quota not yet used up
How the connection works
ALLMEDIA.AI talks to TYPO3 via the REST API of the nnrestapi extension. Authentication uses HTTP Basic Auth with a TYPO3 backend user and an API key.
The setup has two parts: one in the TYPO3 backend (extensions, user, API key) and one in the ALLMEDIA app (connection details, storage locations, channel assignment). It’s best to open both systems side by side in two browser tabs.
1 Create the connection and download the extension
-
Open channel connections
In the ALLMEDIA app, select the right workspace and switch to Setup.
Setup → Content & channels → Channel connections
The “Channel connections” overview. Top right: the Connect channel button. -
Start a new connection
Click “Connect channel” at the top right. The “Select connector type” dialog opens.
-
Select TYPO3
Type
TYPO3in the search field and click the tile TYPO3 — “Publish content directly on TYPO3 websites”. The “New TYPO3 Connector” dialog opens.Note: you can create several TYPO3 connections in parallel, e.g. for several websites.

Type selection after searching for “TYPO3”. -
Give it a name
Enter a meaningful name in the Name field, such as
TYPO3 company website. The name will later appear in the list of channel connections and in the channel workflow. -
Download the AllMedia extension
In the dialog, click “Download Extension” (file
allmedia.zip, approx. 171 KB). This extension provides the flat endpoints/api/news,/api/pagesand/api/categorythat ALLMEDIA uses.Required before any TYPO3 steps. Without this extension, the API returns no data. Don’t rename the ZIP file — TYPO3 derives the extension key from the file name.
The “New TYPO3 Connector” dialog with name field, download button and the Connection / Defaults tabs.
2 Prepare the TYPO3 backend
The TYPO3 administrator carries out these steps. The click-by-click guide is also available in the connector dialog under “How to set up TYPO3 (6 steps)”.

-
Install the AllMedia extension
TYPO3 backend → Extensions → “Upload Extension”Upload the downloaded ZIP unchanged and activate it. Alternatively, unpack it manually to
typo3conf/ext/allmedia/or use Composer:composer require allmedia/typo3-integration
-
Install the nnhelpers and nnrestapi extensions
TYPO3 backend → Admin Tools → Extensions → “Get Extensions”Search for
nnhelpers(version ≥ 13.1.5) and install it. Then run the same search fornnrestapi. Alternatively, upload them as ZIP files via “Upload Extension .t3x/.zip”. -
Option A — activate the site set “ALLMEDIA Integration”
TYPO3 backend → Site Management → Sites → edit site → section “Sets for this Site”In the right-hand field “Available Items”, select the entry “ALLMEDIA Integration” and move it with the left arrow into the “Selected Items” field → Save. This is enough for the frontend and the API, because the set automatically brings along the nnrestapi TypoScript; you don’t need to include it manually via Web → Template.
After every extension update: run Admin Tools → Maintenance → “Flush TYPO3 and PHP Cache” once — otherwise the set won’t appear under “Available Items”. If the site configuration reportsINVALID VALUE ('Site set allmedia/allmedia not found'), the extension is not yet installed in the current version (at least 1.0.7). -
Option B — create a TypoScript record at the root
TYPO3 backend → Web → List → root page → new record → “TypoScript record”Additionally required for the nnrestapi backend module. Symptom if this step is missing: the RestApi backend module shows “Where's my TypoScript? — No TypoScript configuration found.” and the API returns no data.
How to fix it: create a new TypoScript record → “Advanced Options” tab → “Include TypoScript sets” field → add “RestApi Configuration (nnrestapi)” (and optionally “ALLMEDIA Integration”) to the Selected Items → activate “Rootlevel” → save → clear the cache.
Important: make sure to leave theClear: ConstantsandClear: Setupcheckboxes EMPTY. They delete the inherited TypoScript setup of the rootline, including thepage = PAGEobject that the frontend and API need for rendering. Otherwise the result is HTTP 500 on/and on all/api/…endpoints.Option A is enough for the frontend and API; option B is additionally required for the nnrestapi backend module. In practice, this very step is the most common cause when everything “seems to be configured correctly” but the API stays empty.
-
Create a backend user for the API
TYPO3 backend → System → Backend Users → New (or edit an existing user)Recommended username:
allmedia. This name must match the “API User” field in the ALLMEDIA app exactly. Assign the user a group with nnrestapi permission. -
Enter the API key in the extension configuration
TYPO3 backend → Admin Tools → Settings → Extension Configuration → nnrestapi → tab “basic”In the “API-Keys for BasicAuth” field (key
basic.apiKeys), add one entry per line in the formatusername:apikey, for example:allmedia:dA8...32characters...Xy
The username must match the backend user from the previous step exactly. You choose the API key yourself (random string, at least 32 characters) — or you let the ALLMEDIA app generate it (see part 3). Save — done.
3 Establish and test the connection in ALLMEDIA
Back in the “New TYPO3 Connector” dialog, Connection tab.
-
Enter the website URL
The URL of the TYPO3 website including
https://, for examplehttps://www.example.com. -
Enter the API user
The TYPO3 backend user with nnrestapi permission. Default and recommendation:
allmedia. -
Set the API key
Two options:
a) Generate the key in ALLMEDIA — click “Generate Key”. Then use “Copy User:Key” to copy the finished line in the format
allmedia:WKxzFa…and paste it exactly like that in TYPO3 under nnrestapi → basic.apiKeys.b) Use an existing key — enter the key stored in TYPO3 directly in the API Key field.
ALLMEDIA stores the key encrypted and sends it to TYPO3 as HTTP Basic Auth. For an existing connection, it is hidden and can be overwritten via “Reset”.

The connection fields: Website URL, API User, API Key with Generate Key and Copy User:Key. -
Optional: check the endpoint paths
Under “Advanced: Endpoint paths” you find the default paths
/api/pagesand/api/news. Only change them if the TYPO3 installation uses different paths. The paths are relative to the website URL and start with/. -
Test the connection
Click “Test connection”. If it succeeds, “Authentication successful” appears together with a message such as “Connected · 6 pages loaded”.
Only once the test is green should you save and continue with the mapping. A red test almost always means: wrong username, wrong key or missing TypoScript configuration.
Successful test: Authentication successful, plus the message “Connected · 6 pages loaded”. -
Read the endpoint diagnosis
After the test, the Endpoint Diagnosis expands below. It shows individually whether nnrestapi is reachable, whether the ALLMEDIA plugin is installed and which endpoints respond with
OK (200). This is the fastest way to find the cause when something is missing.
Endpoint diagnosis with status information on nnrestapi, ALLMEDIA Core and the optional EXT:news. -
Save
Finish with “Save”. The connection now appears in the list of channel connections with the status Connected.
4 Set storage locations and defaults
In the same dialog, switch to the Defaults tab. This is where you define where ALLMEDIA writes the content in TYPO3.
-
Load storage locations
Click “Refresh”. ALLMEDIA reads the page tree; below it, the number of entries found appears with a timestamp.
-
News posts → storage folder
Select the sysfolder that holds the news records, e.g.
News (UID 2). -
Standard pages → target page
Select the page under which new subpages are created, e.g.
Blog (UID 1).Background: in TYPO3, posts such as news or blog articles are traditionally stored in a storage folder (internally a “sysfolder”, doktype 254) in the page tree — not directly as a visible page. Standard pages (doktype 1), on the other hand, are created directly as subpages. These folders and target pages must exist in the TYPO3 backend and are selected here.
Defaults tab: loaded storage locations, news storage folder and target page. -
Set the default language
The default value is
Default · UID 0. TYPO3 doesn’t provide a list of languages via the API (no/api/siteendpoint) — so take the UID from the TYPO3 backend under Site Management. -
Save
Apply the changes with “Save”.
5 Assign the connection to a channel
A channel connection on its own doesn’t publish anything yet. It has to be set as the publishing destination in a channel’s workflow.
-
Open the channel
Setup → Content & channels → Channels → click the channel you wantAlternatively, directly from the connector dialog via the “Linked channels” tab.
-
Switch to workflow mode
Click “Workflow” at the top. The channel’s stations are shown as a process.
-
Set the publication
In the “Publication” station, click “Change” and select the TYPO3 connection. It then appears as an entry in the station.

The channel’s workflow mode: Publication station with the assigned TYPO3 connection. -
Check approval
In the “Approvals” station, control whether posts have to be approved before publication. Changes are saved automatically (“Saved” at the top right).
-
Publish a test post
Publish a test post via the channel and check in the TYPO3 backend whether the record is in the selected storage folder.
Field reference
| Field | Tab | Meaning / default value |
|---|---|---|
| Name | — | Internal display name of the connection. Free choice. |
| Website URL | Connection | URL of the TYPO3 website incl. https://. Required field. |
| API User | Connection | TYPO3 backend user with nnrestapi permission. Default: allmedia. |
| API Key | Connection | Key of the nnrestapi user. Stored encrypted, can be created via “Generate Key”. |
| Pages endpoint | Connection → Advanced | Default /api/pages. Only change it if the TYPO3 configuration differs. |
| News endpoint | Connection → Advanced | Default /api/news. |
| News posts → storage folder | Defaults | Sysfolder for news records. |
| Standard pages → target page | Defaults | Parent page for newly created subpages. |
| Default language | Defaults | Language UID from the TYPO3 site management. Default 0. |
Troubleshooting
| Symptom | Cause and solution |
|---|---|
INVALID VALUE ('Site set allmedia/allmedia not found') in the site configuration | The AllMedia extension is not installed in the current version (at least 1.0.7). Update the extension, then flush the TYPO3 and PHP cache. |
| The set “ALLMEDIA Integration” doesn’t appear under “Available Items” | The cache wasn’t flushed after the extension update: Admin Tools → Maintenance → Flush TYPO3 and PHP Cache. |
| “Where's my TypoScript? — No TypoScript configuration found.” in the RestApi backend module | The TypoScript record at the root is missing. Carry out option B in part 2. |
HTTP 500 on / and on all /api/… endpoints | Clear: Constants or Clear: Setup was activated in the TypoScript record. Remove the checkmarks, save, clear the cache. |
| The API responds but returns no data | Usually the nnrestapi TypoScript is missing (option A or B) or the user has no nnrestapi permission. |
| Authentication fails | The username in ALLMEDIA and in basic.apiKeys must be exactly identical. Format per line: username:apikey, key at least 32 characters. |
| Everything looks right, but the connection still fails | Open config/system/additional.php via SFTP. If it contains a line $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['nnrestapi']['apiKeys'] = '…';, the entry has been saved correctly. |
| No storage locations can be selected in Defaults | First run “Test connection”, then click “Refresh” in the Defaults tab. |
