How to register an Appium node to Selenium Grid 4.x

Hi.
How do I register an Appium node to Selenium Grid 4.x?
What is the config for setting that up?

Here is my setup now when running Selenium Grid 3.x
Starting grid:
java -jar selenium-server-3.141.59.jar -role hub

Starting Appium node:
appium --port 4731 --nodeconfig nodeconfigSonyXperia1III.json

Here is my config for register my Appium node:
{
“capabilities”: [
{
“browserName”: “Sony Xperia 1 III”,
“platformVersion”: “11”,
“platformName”: “Android”,
“automationName”: “UiAutomator2”,
“deviceName”: “xxxxxxx”,
“maxInstances”: 1,
“systemPort”: 8211,
“relaxedSecurityEnabled”: true
}
],
“configuration”:
{
“cleanUpcycle”:2000,
“timeout”: 30000,
“proxy”:“org.openqa.grid.selenium.proxy.DefaultRemoteProxy”,
“url”:“http://xxxx:4731/wd/hub”,
“host”: “xxxx”,
“port”: 4731,
“maxSession”: 1,
“register”: true,
“registerCycle”: 5000,
“hubPort”: 4444,
“hubHost”: “xxxx”,
“nodeStatusCheckTimeout”: 5000,
“nodePolling”: 5000,
“role”: “node”
}
}

Best regards Dag