I'm not aware of a way to programmatically import a CAN database into MAX. Could you explain why you need to import the database into MAX? The Channel API functions/VIs can reference a database file directly, so there is no need to import the database into MAX.