Visit the FiveM Portal site.
Log in with your account credentials.
Locate the ID Card script in your Granted Assets section.
Download the script files from Portal.
Download the latest version of ox_lib from the official GitHub page.
Extract the ox_lib files to your resources folder.
In your server.cfg, ensure that ox_lib starts before the ID Card script by adding the appropriate start lines (see next step for example).