---
title: V4.3 (includes upgrade script)
description: Upgrade guide from older versions to FastGPT V4.3
---

## Run the Initialization API

Send 1 HTTP request (remember to include `headers.rootkey` — this value comes from your environment variables):

1. https://xxxxx/api/admin/initv43

```bash
curl --location --request POST 'https://{{host}}/api/admin/initv43' \
--header 'rootkey: {{rootkey}}' \
--header 'Content-Type: application/json'
```

This will add a new `file_id` column to the `modeldata` table in PostgreSQL, used for storing file IDs.

## Add Environment Variable

Add a `FILE_TOKEN_KEY` environment variable, used to generate file preview links with a 30-minute expiration.

```
FILE_TOKEN_KEY=filetokenkey
```
