Skip to content

Submit User model to InferX platform

inferx-net edited this page Apr 27, 2025 · 6 revisions

After deploy InferX platform with https://github.com/inferx-net/inferx/wiki/InferX-platform-0.0.1-deployment, we can submit user model to the platform.

Create API Key

  1. In the InferX dashbord, click "Apikey" and input username and password created in Keycloak. If deployment is based on Keycloak database image, the default username is "testuser1" and password is "test".
  2. In the Apikey page, input apikey name under textbox under "Add Apikey" and then click button "Add Apikey name".
  3. Then the new API Key will generated for the user

Set API Key

  1. Open local file path of https://github.com/inferx-net/inferx/blob/main/config/models.txt
  2. Edit IFERX_APIKEY with the generated apikey such as "97146956-2fd9-4b7e-8308-835d81dff85e"
  3. Open a bash terminal and copy and paste
export KEYCLOAK_URL="http://localhost:1260/authn"
export INFX_GATEWAY_URL="http://localhost:4000"
export IFERX_APIKEY="d485cf31-c313-426f-a3a8-116a7fa97d44"

Create tenant

Clone this wiki locally